Hot answers tagged

6

Welcome in the Cloud world, where new features are pushed (after a "First Release" period of a couple of months) to every Office365 tenant So: The New look for Document Libraries Microsoft today announced that SharePoint modern document libraries are now rolling out to all Office 365 commercial customers worldwide. Modern document libraries have an ...


5

Using rest API, just make a GET request to the following end-point: _api/web/lists/GetByTitle('List Name')/fields?$filter=EntityPropertyName eq 'Choice Field Name'" Example using jQuery $.ajax({ url: "host url"+"_api/web/lists/GetByTitle('List Name')/fields?$filter=EntityPropertyName eq 'Choice Field Name'", type: "GET", headers: {...


3

Try using this code for adding custom action to the site settings page. // Add site settings link UserCustomAction siteSettingLink = clientContext.Web.UserCustomActions.Add(); siteSettingLink.Group = "SiteTasks"; siteSettingLink.Location = "Microsoft.SharePoint.SiteSettings"; siteSettingLink.Name = "Sample_CustomSiteSetting"; siteSettingLink.Sequence = 1000;...


3

You can also try this using CSOM: function GetChoiceValues() { var context = new SP.ClientContext.get_current(); var web = context.get_web(); this.taskList = web.get_lists().getByTitle("CMA"); this.fields= this.taskList.get_fields(); var deptChoiceField = context.castTo(this.taskList.get_fields().getByInternalNameOrTitle("Category"),SP.FieldChoice);...


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.


2

Login with the credentials of SharePoint tenancy and make sure your user is authenticated to do the operation. I prefer chrome to this operation and recommend to use "Advanced REST client" or Postman REST extension. Finally, make sure your request headers are used accordingly. 'Accept': 'application/json;odata=verbose', 'Content-Type': 'application/json;...


2

You can use following tools in Chrome. Advanced REST client Postman - REST Client shortcut _api JSON Viewer (Store APP) To view data as JSON set following header. PS: Don't forget to login into you site from Chrome.


2

Go to your Library Settings -> Advanced Settings For 'Opening Documents in the Browser' choose 'Open in the client application'


2

Make it a boolean. Tested it out on my end and this is what worked. sitecollection/_vti_bin/ListData.svc/TestList?$filter=IsNum eq true


2

You can export the list to excel and then import it into SharePoint online list. Also check this KB articles for more detailed information about how to manually migrate the content to the office 365. https://support.microsoft.com/en-us/kb/2783484


2

You cant check that. In office 365 Continuous crawls are enabled , with crawl frequencies managed by Microsoft. Search crawls occur continuously to make sure that content changes are available through search results as soon as possible. Recently uploaded documents may not immediately be displayed in search results because of the time that's ...


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 ...


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

In order to set a new masterpage will have to upload it to the Masterpage Library which is located at: https://domain.sharepoint.com/_catalogs/masterpage To assign the masterpage to your site go to Site Settings > Design Manager > Publish and Apply Design > Assign master pages to your site based on device channel. Choose your Masterpage from the dropdowns, ...


1

There is no inconsistency. There might be a space somewhere that is breaking your HTTP request. Can you make sure that the ListName bit has no spaces in it? If you are using the Workflow Context: List Name, then this probably has spaces in it. If you have a list called "My List" this is how your calls should look like: MySite/_api/web/lists/GetByTitle('My ...


1

only option in your case is 3rd party tool, reason is you want to move everything( a complete site collection) and for that no OOTB method. if you want just content then you can open both sites(source and destination) in explorer and copy paste the data. or save as template if no publishing feature. I never tried this but you can ask O365 support, if they ...


1

You can definitely use Third party tools like Sharegate, MetaLogix to migrate content within different tenants as there are many efficient tools available in the market. These tools will provide better functionalities than our custom code.


1

As I see you have configured angular routing incorrectly. In the route config make sure your default route is in the bottom which means landing page which you're defining with "/". As an example; { url: '/view/:number', config: { templateUrl: '/aaa.html', title: tt' } }, { ...


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.


1

I was experiencing this problem as well with my co-workers. I believe this is a SharePoint designer bug. What you need to do is install the SharePoint designer update for each computer that is having this problem. Here is the link below for the update: https://support.microsoft.com/en-gb/kb/2837633


1

If you need to ask questions and have user responses in SharePoint, I would recommend to use Survey list. Here are few references: https://support.office.com/en-us/article/Create-a-survey-ea52a787-822e-4f7e-b5ed-77bb14df3aba



Only top voted, non community-wiki answers of a minimum length are eligible