New answers tagged

0

You can use remote authentication like what is done in this page http://paulryan.com.au/2014/spo-remote-authentication-rest/. I have already tried this one and it works, you just need to follow the steps. You just need to get the security token in order to get the access token cookies. Cookies are necessary as a header when making requests and for getting ...


0

Assuming you've got you're authentication working, you might want to look into the new Rest endpoints of SharePoint online. Here's a reference: https://msdn.microsoft.com/en-us/library/office/jj860569.aspx The /_vti_bin/ListData.svc endpoint still exists but I think it's deprecated. The new rest endpoint follows the odata standards. Give a call to http://...


1

SharePoint Office 365 Admin has full control of every object. There is no way you can remove that. One option is to log details of users who are viewing the list/library. You can add JSOM script to capture this information. Also you can put a redirect logic in the pages so if the user is not part of say HR SPGroup then redirect to an access denied page.


1

I was faced with the same issue in a workplace that did not understand exactly how Microsoft products work and the answer is no, the administrator has higher power for a reason. What we have compromised on is to have a third party application that monitors accesses and creates daily/weekly reports so that every intrusion by administrators is justified before ...


0

If AD properties are already mapped with user profile properties, then you can get them using REST API. http://siteurl/_api/SP.UserProfiles.PeopleManager/GetMyProperties Just make GET request to the above end-point, it will return you current user's properties. Get all properties of Specific User SP Online http://siteurl/_api/SP.UserProfiles....


0

I would suggest creating separate document libraries with required permissions and move the documents from main document library through workflow. Workflow can use the tags attached to a document for making the decision of where to publish.


0

Option 1: I am not sure I fully understand the scenario. It almost sounds like you need to build a content type for each department. The content type for each could have a unique choice field with appropriate choices. Option 2: $().SPServices.SPCascadeDropdowns Option 3: https://sputility.codeplex.com/ Hide/Show field on list form based on value ...


0

I manage to figure out the location of these files after checking around and literally missed the path. The Steps In Internet Explorer, access any library on the site to open up the library in file explorer. Click the Open In Explorer button on the SharePoint ribbon. When the file explorer opens, click on the folder 'Lists' to access the folders of all ...


0

These "files" usually lives in your content database. That's why you can't find the actual files in an on-premise environment. The Views shows a list of items in "prescribed order and selections". This means that you use the views to display list data the way you want, by date, by author, by title, by category. It can be grouped, sorted and filtered in ...


0

There is a service which is being called from your Infopath form. Open in Infopath designer and check the .svc service which is being called. There can be several reason why the service is down. It can be due to lost connectivity of server or any change in account through which service is running.


1

If anyone's wondering, solved by implementing CORS on the server instance, allowing the app web to access data. Not the greatest solution as only one domain can be whitelisted per server instance, but it works.


0

You could subscribe them to the list and every time an new item is created the get an email immediately or daily.


0

Thanks to Danny for putting me onto GetUrlKeyValue I was sending the field name into a URL and querystring to get mylist/newform.aspx?ProjectName=Test2 I was then trying to pull that Test2 into the lookup field (liked to the project list) "ProjectName" in the list "MyList" But even when loading the function for my old script with ...


0

From what I could find, in order to perform operations on Office 365, we need to authenticate using claims-based authentication, which is done in not one, but a series of sequential steps. build a SAML request submit a SAML token request to Microsoft Online Security Token Service receive a signed security token POST the token to SharePoint Online receive ...


0

Yes, you are right. It is best practice to create security groups and assign these groups rights in SharePoint, for once the security groups have been correctly configured there is no need to return and fiddle with SharePoint securities if new users get added for example. Read more here: Using Office 365 security groups with SharePoint Online


0

You can't prevent it in the service, but you can force devices to enroll and accept defined policies. With the native O365 MDM rules, you can require devices be enrolled before accessing services. Create a new MDM policy and apply it to a test group, assign a test user. Now any supported device that uses an app to login with an ID in that test group ...


0

Did you try Update-SPAppInstance -Identity $instance -App $spapp ? MSDN Reference


0

The Target Audience feature does not take into account that you are a site collection administration. If you are not in the group that you set in the target audience, you will not see it. Silly, but that is the way it works.


0

Disclaimer: I haven't tried this in SPO yet. The previous way to do this in on-prem installations was to utilize the Publish links to Office applications in the User Profile Service. You should be able to do this in SharePoint Online by going to your tenant administration, clicking User Profiles, and clicking Publish Links to Office Client Applications. ...


2

As per the comment, It was URL issue. Valid URL is Shared Documents/NewFolderName Sabita S added another fix: Remove backslash (/) from data relative URL .It should be 'ServerRelativeUrl': 'Documents/NewFoldername' .... data:JSON.stringify({'__metadata': { 'type': 'SP.Folder' }, 'ServerRelativeUrl': 'Documents/NewFoldername'})


-1

In this post you can find a detailed explanation on how to simulate a timer job behaviour with a site workflow in Office 365 How to Create a Timer Job with SharePoint Designer 2013


0

In long run below process will help you Create a document content type Create a site column client and add to the content type Create a site column year and add to the content type Go to list settings and attach the newly created content type Search will capture all the data and it will be easily manageable.


1

JSOM Start SharePoint Workflows with JavaScript Client Object Model function LoadScripts(){ SP.SOD.executeFunc("sp.js", "SP.ClientContext" , function(){ SP.SOD.registerSod('sp.workflowservices.js', SP.Utilities.Utility.getLayoutsPageUrl('sp.workflowservices.js')); SP.SOD.executeFunc('sp.workflowservices.js', "SP.WorkflowServices....


0

I had faced similar issue. Fixed by disabling the 32-bit version of SharePoint OpenDocument Class from Manage Add-ons in Internet Explorer.


3

I know this is old but that "waiting for server" is normally the server processing your request, this is due to structural navigation being generated, content queries or searches webparts being generated, too many webparts and so on, this is called TTFB or Time To First Byte. So your "Waiting for server" is not the amount of time it takes to send back the ...


0

I believe the equivalent of SPContentTypeUsage is not available in Client. Hence we can't use PowerShell to scan and report the Usage. I strongly recommend you check the recycle bin to make sure the reference is holding in there Delete from site recycle bin Delete from Site Collection > Site Settings > Site Collection Administration > Recycle Bin Delete ...


0

Subscribing to the click events is not a good idea here, for many reasons (including: you'd have to consider all buttons user can press to validate the page (in ribbon, in the page...), key events, and also your Handler may happen after the SharePoint handler). The good practice here, to intercept the save action and possibly cancel it, is to define a ...


0

After a while figured this out. The language of the root site collection https://tenant.sharepoint.com was Finnish so after changing the language on that site collection the page was switched properly to English. All the production activity is running on other site collections so the root was left unnoticed initially.


1

Refresh the token in Form Digest The two most common ways are to either use ye olde web services and call into the /_vti_bin/sites.asmx and use the GetUpdatedFormDigest method. To use this you have to create a SOAP message and then parse the response and retrieve the updated token. You can then either pass that new token for your subsequent requests, or ...


0

There is only a single method of authentication to Office 365 (or SharePoint Online, however you'd like to look at it). You're either using federated using ADFS, Okta, Ping, etc. or using 'managed' accounts (where Azure AD sync is in place, but you're not using federation). There is no way to do one or the other depending on location. I typically suggest ...


1

The error message indicates that your App doesn't have permissions to do the add. You need to request write permission at the Web scope in the App manifest. You also need to change the GET to a POST.


1

I just came across this issue. This appears to be a limitation whereby SP.Utilities.CommandBlock does not get loaded to a published page in view mode. It will work for site collection admins, but not for owners/members/visitors. For non-site coll admins, the workaround is to check out the page, and then perform the drag-and-drop upload.


2

You could add a redirect script (what ever your code of choice is) on load to redirect them to a different page by adding a script editor part to the page. I know it's not an an iron clad solution but just another deterrent.



Top 50 recent answers are included