Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smj0x/BlazorPoint
Blazor (Client Side) on SharePoint
https://github.com/smj0x/BlazorPoint
blazor blazor-application blazor-client blazor-webassembly sharepoint sharepoint-site wasm webassembly
Last synced: 18 days ago
JSON representation
Blazor (Client Side) on SharePoint
- Host: GitHub
- URL: https://github.com/smj0x/BlazorPoint
- Owner: smj0x
- License: apache-2.0
- Created: 2019-09-12T17:51:09.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:29:15.000Z (almost 2 years ago)
- Last Synced: 2024-09-05T23:09:39.941Z (2 months ago)
- Topics: blazor, blazor-application, blazor-client, blazor-webassembly, sharepoint, sharepoint-site, wasm, webassembly
- Language: HTML
- Size: 6.19 MB
- Stars: 41
- Watchers: 7
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blazor for SharePoint
BlazorPoint is Blazor(Client Side) on SharePointThis is a sample project to help you get started with hosting blazor on SharePoint Pages, Completely Client Side.
This Project is an experimental project, still missng authorizations and other cool stuff which will be added later on.This Project Contains Components such as:
- Insert data into lists using forms
- uploading attachments to list item
- people picker
- lookup lists
- tables to list items with search
- repeat section to add data to another listand lots more will be added as soon as published.
Steps to set up and running, you will need [https://dot.net]
## Step 1:
Create your project using this below command
`dotnet new blazorwasm -o [YourProjectName]`
`cd [YourProjectName]/wwwroot`Now, rename your _index.html_ file to any file name with _.aspx_
Example:
`index.html`
to
`default.aspx`## Step 2:
Determine your site collection root path.for example if you are using . sharepoint site collection with root name http://[your_site].com/ . or
"http:/[your_site].com/sites/example"either way edit your _default.aspx_ file to reflect the base meta tag
Example:
for root path
``for _sites/example_ path
``if you are hosting in _Pages_ Library
``## Step 3:
Allow .json in Central admin then
`Manage WebApp -> Block Types -> Remove json-> save`
Modify your Web Applications Web.Config and add or replace this line if it already exists.
``
if you want to allow .json file only on pages library
change path attribute to `path="/Pages/*.json"`
## Step 4:
Making your default.aspx as welcome page.
Navigate to `Site Settings -> Welcome Page` in your site collection, if you don't see this option enable
site collection feature `SharePoint Server Publishing Infrastructure`Then enable `SharePoint Server Publishing` in site feature
## Demo
Demo Project: Datacenter Visitor Log.
1) Import List Template in ListTemplate Folder
2) Change List Guid & List Type in Contants/Settings.cs File
3) Create SharePoint Groups Named As (Admins,DC-OP-Jeddah,DC-OP-Dammam,DC-OP-Riyadh)![BlazorPoint](demo.gif)
## Contributors
- Syed Mohammed Jafary