Hot answers tagged

3

Turns out, the comment is very important. My previous comment was "Checked in during Migration." I believe the extra "." was causing the issue. When I changed the checkin comment to "Migration", it worked. Keep the comment simple.


2

When you want to retrieve properties for a single item/folder/list/etc and not a collections of items/folders/lists/etc you need to specify properties like this: ctx.load(list, 'Name', 'Url', 'other_property_here'); Basically, you DON'T use Include(), but specify the properties as comma-separated arguments in the ctx.load() function.


2

There is nothing you can do once you go over 5000 items other than deleting items to get under the thresh hold, so it behooves you to plan accordingly ahead of time if a list or library is going to go over the thresh hold. Create indexed columns and create filtered views based off of those indexed columns to return result sets below 5000 items and you'll be ...


2

To Add OOTB Taxonomy Picker Edit the masterpage and add: In your HTML/page/script editor add JS to set SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function () { SP.SOD.executeFunc('sp.taxonomy.js', 'SP.Taxonomy.TaxonomySession', init); }); //Code to initialize the Taxonomy picker control var tagUI = document.getElementById(...


2

No, it wont work with SharePoint Designer 2010 because there is a shift in the code base from 2010 to 2013. However SharePoint Server 2016 is built on the same code base as SharePoint 2013 and the fact that you still can use SharePoint Designer 2013 on SharePoint Online, there are reasons to believe that SharePoint Designer 2013 will function very well ...


2

One of my favorite ways to automate repetitive tasks is to use PowerShell + CSOM. The Client Object Model allows me to run my scripts on top of on-prem SharePoint or Office 365 using the exact same code, so I don't have to migrate it in order to make it run in one or the other. Here is an example of how you use the client dll in a PowerShell script to ...


2

I tried contacting Microsoft for the same requirement but I found this question is already answered by Microsoft support team. The reply from Microsoft Team was like Currently, the sub site limit is 2,000 for Office 365 subscriptions. We can see the limit here: SharePoint Online software boundaries and limits. For any changes, we will update the ...


2

If you are working default list forms and you are victim of some unwanted changes and you want to revert the form to original then you can do this by following some of simple steps. Solution-1: Open any existing form that is perfectly working from other list. Remove ListFormWebpart from broken page "<WebPartPages:ListFormWebPart ... to</...


2

You can use Content Organizer feature to route documents to different site collection. Implement a designer workflow to copy the file to Drop off Library after approval. Configure content organiser rule to move the file to target site collection. Learn more about Content Organizer.


2

The mistake you are doing is you are using List's UserCustomActions, but here your ScriptLink is the part of SPWeb or SPSite. So you code need to be like UserCustomAction Scriptaction1 = clientContext.Web.UserCustomActions.Add(); instead of UserCustomAction Scriptaction1 = collUCA.Add(); Refer this


2

Users with Read only Permission at Site Level , Library Level will not get Download option. Users with contribute access Permission at Site Level , Library Level and Item Level will get Download option.


1

It is impossible for us to know how you've implemented your app, so we can't give you any specific advice. If your app utilizes anything listed in this article, then you're out of luck for the time being. https://support.office.com/en-us/article/Differences-between-the-new-document-library-experience-and-classic-mode-30e1aab0-a5cc-4363-b7f2-09e2ae07d4dc


1

You can do it, using both JSOM and the Rest OData API, but you´ll have to validate the data on the client, Sharepoint will not handle it.


1

You can create custom list forms using SharePoint Designer. Open SPD Open your Site Choose your List under Lists and Libraries Choose List Form from the ribbon Define the name and type(new/edit/view) of the new form You should now see your new form at the bottom-right Forms section. Click on your form to edit it Click Advanced Mode in ribbon All the ...


1

You can either give those users View Only permissions, or you can use IRM (Information Rights Management) to restrict the document. Users with the View Only permission level can only list items in a list/library. They need the Read permission level to open them. More information on the different permission levels here. IRM can be used to help control and ...


1

Your only option is to use the REST API. The implementation will be a bit tricky because of the complexity involved. See this article for a detailed walkthrough http://johnliu.net/blog/2014/2/19/using-sharepoint-designer-2013-workflow-to-copy-file-via-res.html The REST URL Format is - https://tenant.sharepoint.com/siteurl/_api/web/folders/GetByUrl('...


1

So if I understand correctly you want to track changes to list items, right? Powershell script You can try this script to see the changes on your site collection and then filter the ones applying to the list Workflow as Amal Hashim suggested Alerts on the list:


1

I don't think you can achieve this out of the box. Below is a workaround which I think will work Create a hidden list which is used to store the changes Create a workflow that runs on item created or updated Make entries to the audit list along with date and time Now have another workflow that runs every week. You can use Pause Activity for a week and ...


1

I think 2000 subsite per site collection is just a threshold value. There will be impact on performance if your subsite count is more than 2000. Thats why Microsoft recommends upto 2000 subsites per site collection. https://support.office.com/en-us/article/SharePoint-Online-software-boundaries-and-limits-8f34ff47-b749-408b-abc0-b605e1f6d498


1

You can use the Developer tools in your browser for that. Open the page in your browser and hit F12. In IE (other browsers work similar) go to the tab 'DOM Explorer'. In the upper left corner you will find an icon with a box and an arrow. Click it once and then hover your mouse over the web part in question and click again. This will open the corresponding ...


1

It is not taking app web url. May be you have missed the last part of my article. For SharePoint Hosted App, _spPageContextInfo.siteAbsoluteUrl will give you the host web url. Check the following part again. In the baseSvc.js, we have to use _spPageContextInfo.siteAbsoluteUrl instead of _spPageContextInfo.webAbsoluteUrl for baseUrl. PS: In my ...


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.


1

I think you are using SharePoint Online 2013, In that version Microsoft introduced Drag and Drop feature for pull items into document library. While doing this action, the new form with other metadata columns are not shown. You need to go to particular item and edit the properties of the dropped item in document library.


1

I am not sure if my answer is correct, but I will leave it here to be debunked if I'm wrong. I've reactivated Enterprise features several times, changed tenant settings to allow Custom scripts, checked my tenant version and nothing forced the Content Search web part to appear. So, I suspect that missing Content Search web part could be part of the ...



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