Forum Widgets
Latest Discussions
Form Customization Permissions?
1. I wrote a SharePoint form customization using SPFx ( TypeScript / React ). 2. I have a large pool of external users and each month I will send emails to a portion of those users. 3. The email will contain a link back to a page on my SharePoint site. 4. The page on the site will contain one or more links to list items that require the user to edit and save. 5. When the user clicks on one of those links, the corresponding list item will be displayed using my form customization. 6. The user will edit the information, save the form, and be directed back to the site page with the links to the list items. Everything works fine up to (and including) #4. However, when the user clicks on one of those links, only a blank page appears and using F12 I see the following: ----------------------------------------------------------------------------------------------------------------- Refused to execute script from 'https://<tenant>/sites/appcatalog/_layouts/15/AccessDenied....' because it's MIME type ('text/html') is not executable, and string MIME type checking is enabled ----------------------------------------------------------------------------------------------------------------- The users are all included in the "members" group of the site and should have edit permissions. However, this error message seems as though there is some permission missing from the actual form customization application that Ideployed to the app catalog and then enabled on this specific site. Internal users do not experience this issue, only external users. Are there permissions I need to configure on a form customization application?jgradyOct 27, 2024Copper Contributor61Views0likes0CommentsProgrammatically share site with external users via passcode
Hello, I have a large pool of persons external to my organization. Once a year they must complete a form that takes maybe 10-15 minutes to fill out. Each month I would like to send an email to some number of these people informing them that they must complete their form. I would like to do the following things programmatically (SPFx using React/Typescript): Use the user's email address to see if they are already in the "FormMembers" group. If not, add them Send them a notification email with a link to page that will itself will have a link to the edit form for the form they must complete (this is a form customization, again SPFx using React/Typescript) I want them to be able to access the site and form using a passcode that has an expiration date. I want to create and send the email programmatically I DO NOT want to require them to authenticate with anything other than the passcode. This is an annual event for them tha lasts only a few minutes. Question: How do I programmatically create the link that I put in the email so that it will know to authenticate using a passcode?jgradyOct 25, 2024Copper Contributor65Views0likes0CommentsPnP SingleWebPartAppPage removing all page contents
I am trying to convert a SharePoint page into a single web part app page to display a PowerBi report in full screen. I have tried creating the page, converting to "article" layout, adding the embed (both the PBI specific and the generic embed) webpart then running the script to convert to a single webpart app page. When I run the script, it is converting the page but it is removing the embedded web part. Here is my code: $clientId = "XXX" $clientSecret = "XXX" $tenantId = "XXX" $scope = "https://graph.microsoft.com/.default" # Use Microsoft Graph default scope for app-only authentication Connect-PnPOnline -Url example.com -ClientId $clientId -Tenant $tenantId -Certificatepath "C:\Users\User\Example" -CertificatePassword (ConvertTo-SecureString -AsPlainText "Example" -Force) if(Get-PnPConnection) { Set-PnPPage -Identity "Example.aspx" -LayoutType singleWebPartAppPage } else { Write-Host "Connection failed. Please check your credentials and try again." Any help or advice would be greatly appreciated.HarryM1260Oct 24, 2024Copper Contributor81Views0likes0CommentsListen for web part load
Does Sharepoint provide any indication of when a web part is loaded onto the page? I have a list of quick links, some of which link to images. I'm attempting to prevent the default behavior of those links so that clicking downloads the image rather than opens in a new tab. I have the code to perform this action, but I can't target the links because they aren't loaded on initial page load. Is there a way to listen for when the quick links web part is loaded?jdozier-ezellOct 19, 2024Occasional Reader82Views0likes0CommentsMy JSON won't work for column formatting to color code the calendar on my MS Teams SharePoint Site
I would like to color code the calendar events based on choices for the “Source” category column, and I understand you can do this by going into List Settings<(Column name) <Column Formatting. I used chatGBT to create a JSON, but for some reason my events are still all black. I've included the JSON below. All the other column formatting questions that I have seen online look much different, so I've also attached a screenshot of the “Edit column” page for the column I would like to add conditional formatting to change the color of the event boxes. { "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json", "elmType": "div", "style": { "background-color": "=if(@currentField == 'Enterprise Forums', '#F5A623', if(@currentField == 'G&G Routines', '#4A90E2', if(@currentField == 'Finance/HR', '#50E3C2', if(@currentField == 'Strategy', '#B8E986', '#FFFFFF'))))", "color": "#000000", "padding": "5px" }, "children": [ { "elmType": "span", "txtContent": "@currentField" } ] }MalloryCAOct 18, 2024Copper Contributor89Views0likes0Commentsnot able to add "i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint" as contributor
Hi All, i am not able to add appidentifier "i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint" as contributor to TermStore Group in SharePoint Online. The appidentifier is not resolving and not allowing to add. Few weeks back i was able to add in classic mode, is Microsoft disabled now? Also there is no way to switch back to classic experience/mode. Any one having any solution or fix for this issue?Ravi_NallaOct 18, 2024Copper Contributor131Views0likes0CommentsModify a Teams tab solution from GitHub to match the customer requirments
I am working on a new project and the customer have already installed and used this Teams tab from GitHub @ https://github.com/OfficeDev/microsoft-teams-emergency-operations-center Now they want to do some modifications to this solution, such as :- Change some titles for the fields currently when an item get created it provision some channels on teams, so they want to modify the name of those channels and provision more channels. So my first question is about how i need to do those changes,, are those steps valid:- Clone the code from the above github link modify the code accordingly Deploy and publish the solution to get a new .sppkg solution and re-upload it to the sharepoint app are those valid steps to do the modifications? i built a lot of SPFx solutions, but never modify existing one on GitHub. Second Question, when the customer install this solution for the first time, a new site and lists were provisioned... so if i replace the old .sppkg file with the new one, will this re-provision the site and the lists? or this will only happen when we installed this solution for the first time only? Third question, now if i do those modifications inside our local version after cloning the solution, and Microsoft releases a new version of this app inside GitHub, and we want to have this new version, then our local modification done previously will get lost? am i correct? so can we for example post those changes to GitHub as well, so they will be part of the new releases done by Microsoft ? Thanks90Views0likes0CommentsDisplay Issue opening files via Sharepoint "Open in App"
Hello MS Tech Community, We frequently work with CAD files/programs on SharePoint. Using SharePoint’s "Open in App" feature, we can open and edit CAD files directly in the desired CAD application. However, we have encountered the following issue: When we open CAD files via the "Open in App" feature, the user interface in several CAD programs is misaligned. Buttons appear disproportionately large, the drawing window is too small, and the entire display is distorted. However, when we open the same file through File Explorer (e.g., via OneDrive synchronization), the file is displayed correctly without any issues. Affected programs: Archicad, Cadwork, Rhino This issue has been occurring since we first started working with CAD files on SharePoint, approximately 3–4 months ago. It still persists, and we tested it again last week with the same result. My colleagues are experiencing the exact same issue. We’ve tried different devices and users. The support of the affected programs didn't have any solution, so we asume it's a sharepoint / onedrive issue. We also contacted the Microsoft Support. They told us to open a ticket in this community. We have some console logs of the file openig process. There are some differences when we open it in the local file System and via "Open in App" in Sharepoint. Does anyone have any ideas on how to solve this problem or has experienced something similar? We would be grateful for any help or suggestions. Thank you in advance and best regards,BenjaminD2075Oct 16, 2024Copper Contributor92Views0likes0CommentsException of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException
Hi Team, We have try to sync with zoho crm(point) to sharepoint. we getting the some issue for while get folder API like this issue "Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException" Can you please check and let us know the below issue resolution GetUrl: https://akself115.sharepoint.com/sites/Jumpstart/_api/web/GetFolderByServerRelativeUrl('Shared Documents') Request Header Json : {"Accept":"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJub25jZSI6IkoxTVEyRmNQU3EtWk9wZkh3RklzdGoxLXp5YktUNi1LaVRFUmlrRFhyVEEiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1jN2wzSXo5M2c3dXdnTmVFbW13X1dZR1BrbyIsImtpZCI6Ik1jN2wzSXo5M2c3dXdnTmVFbW13X1dZR1BrbyJ9.eyJhdWQiOiJodHRwczovL2dyYXBoLm1pY3Jvc29mdC5jb20iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81M2Y1ZDM0MS1lMWQxLTRhNWMtYTNlZS1mZDAyNDg3YTA1MTQvIiwiaWF0IjoxNzI4OTk2MDIwLCJuYmYiOjE3Mjg5OTYwMjAsImV4cCI6MTcyODk5OTkyMCwiYWlvIjoiazJCZ1lEZ2x1NDM5alcrK1VVNnovSVF3YndFR0FBPT0iLCJhcHBfZGlzcGxheW5hbWUiOiJab2hvQ1JNIiwiYXBwaWQiOiI5YzUxODY1Ni1mYmY1LTRmMWYtYjQ0Zi1jNjFkOTE5NjQ2NzgiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC81M2Y1ZDM0MS1lMWQxLTRhNWMtYTNlZS1mZDAyNDg3YTA1MTQvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiJmYzJmY2NkNy0wOWZlLTQ1NjUtYTAxYy05NzMwZjBkMTcyYTQiLCJyaC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iI_bOD_hR_6CWlHh8lPu3mlp38syHOW74yKTNwF_a1b8ptqE7iobjrEpZrgtRb50FGG0uFAJlX0-U4cttZJfGEAxZyQdTX0ZG0S_l4ajzQ1jbigfr_A"} API Response: {"error_description":"Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown."} Application URL: https://akself115.sharepoint.com/sites/Jumpstart/Shared%20Documents/Forms/AllItems.aspxVeeraRajanVelajaganeOct 15, 2024Copper Contributor87Views0likes0Comments
Resources
Tags
- developer1,211 Topics
- PnP640 Topics
- APIs473 Topics
- Extensibility247 Topics
- Responsive127 Topics
- SharePoint111 Topics
- Hybrid81 Topics
- SPFx70 Topics
- SharePoint Online64 Topics
- PowerShell23 Topics