New answers tagged

1

To troubleshoot the issue, you could republish the workflow. And clear sharepoint designer cache. And create a new same workflow to check if the same issue will occur. More references: Create Site From Template using SharePoint 2013 Workflow. Create a SharePoint site using REST in workflow with SharePoint Designer.


0

There is also this method. https://siteurl/_api/web/GetFolderByServerRelativeUrl('List or Library Name/')/Files('File Name')/ The following example shows how to retrieve a file. https://my365.onmicrosoft.com/sites/sample/_api/web/GetFolderByServerRelativeUrl('SiteAssets/')/Files('01.jpg')/


0

Below is the complete example of how to get the file from SharePoint: var hostweburl = decodeURIComponent(getParameterByName('SPHostUrl')); var appweburl = decodeURIComponent(getParameterByName('SPAppWebUrl')); var fileContentUrl = "_api/SP.AppContextSite(@target)/web/GetFileByServerRelativeUrl('/site/library/madcow.xlsx')/$value?@target='" + hostweburl + "...


1

In SharePoint 2016 I had to run Get-SPServiceApplication and Get-SPServiceApplicationProxy to get the GUID for the service in order to run this. It might be obvious to some, but I didn't understand that at first. Therefore the commands look like this: $sa = Get-SPServiceApplication 'd64a59ab-5f04-40ac-9058-462770ba0000'; where the GUID matches your ...


1

While JSOM is still indeed supported, Microsoft is not working actively on JSOM and is pushing new change via RESTful endpoints. The ability to fetch property bag value is supported via REST API. You can do that as below for your code using jQuery, but you can use any other library that your prefer : $.ajax({ url: _spPageContextInfo.webAbsoluteUrl +...


0

You can get web property bag using JavaScript object model. But make sure SP.js file is loaded first on your SharePoint page. Try using below Code: //wait until client object model dependencies are loaded before executing our code ExecuteOrDelayUntilScriptLoaded(getWebProperties, "sp.js"); var webProperties; function getWebProperties() { var ...


0

After uploading the attachment, whether you can view the attachment column display as below: After saving this list entry and View Item, if you can view the Attachments column? Try to disable and re-enable the Attachment option in the advanced settings. Check if you can view the attachment in another list.


0

In your code there is a syntax error. In $(document).ready() the bracket { is missing. You can put your code inside this: $(document).ready(function() { //Your code goes here });


0

While adding/updating list item, REST endpoint should be like given below: http://site url/_api/web/lists/getbytitle('ListName')/Items Where ListName is Display name of the SharePoint List. In your code, itemType is ListItemEntityTypeFullName property of List. The ListItemEntityTypeFullName property is especially important if you want to create and ...


0

To troubleshoot the issue, check things below: Check if you have selected the option to login automatically. Check if the WorkStation service is started in the services.msc. Reset IE. Go to IE->internet options->advanced tab->reset. More references: \server is not accessible, You might not have permission to use this network resource. Fix “\computer is ...


2

I guess internal name of your field is different than 'Hospital'. Use below link to check the internal name of your field: How to check Column Internal Name for a SharePoint List. Also add the code you are using that might be helpful to answer your question.


1

In Your URL you have added Shared%20Documents after site URL, which is not required. Try using below URL: https://learningsfdc.sharepoint.com/sites/SidFirstSite/_api/web/GetFolderByServerRelativeUrl('/Shared Documents') Reference: Working with folders and files with REST. Also, you need to create the Site level app and add authorization to Postman. ...


0

The issue is current fixed, you can create custom form from SharePoint designer now. Similar issue post for your reference: https://social.technet.microsoft.com/Forums/en-US/1e20d379-a650-44f9-8636-734d6379229b/sharepoint-list-custom-form-creation?forum=onlineservicessharepoint


0

I have encountered this issue before and successfully solved it. Please check if you have "Add and Customize Pages” permissions on Site level. If you are unable to locate this permission , you can create it by following below mentioned steps :- Add a new permission level which only includes “Add and Customize Pages” permission, and then create a new ...


1

My money is on this line: PreFilledUrlLookupField field = (PreFilledUrlLookupField)this.Field; You're passing a null value in a variable here, it seems.


1

PreFilledUrlLookupFiled field is causing the error. add the null condition check as below for filed. this.field seems to be null. PreFilledUrlLookupField field = (PreFilledUrlLookupField)this.Field; if(field != null){ }


0

You can compare the difference between the three global admins. To change external sharing settings, you need to be a global or SharePoint admin and have SharePoint license. In my test, if a global admin doesn't have SharePoint license, he will be unable to access SharePoint admin center.


Top 50 recent answers are included