Tag Info

Hot answers tagged

1

You can get the document link using following line: var url = _spPageContextInfo.webAbsoluteUrl + oListItem.get_item('FileRef');


1

You can use built-in server controls in a SharePoint-Hosted app. You just can't use any code-behind. The markup for the various data source and UI controls remains the same. <SharePoint:SPDataSource ID="SPDataSource1" runat="server" DataSourceMode="List" SelectCommand="<Query></Query>" > <SelectParameters> ...


1

You can convert the date time string returned into javascript datetime object, and extract the information required. Take a look at this link var date = new Date("2013-09-23T23:56:46Z");


1

I believe the simplest and recommended way to achieve this is using either the SharePoint JavaScript Object Model or AJAX. Neither will cause the page to become unresponsive and both should be fast, even with several thousand items. If you are performing just one query, the SharePoint JavaScript Object Model is your best option. The following MSDN article ...


1

According to http://blogs.msdn.com/b/findnavish/archive/2011/11/16/some-specific-folder-or-files-not-getting-created-in-sharepoint-thickets.aspx and http://social.technet.microsoft.com/Forums/windows/en-US/d6c187ab-3d70-4357-878f-018b9731c161/sharepoint-folder-with-an-underscore-contained-within you shouldn't be able to upload the folders without getting ...


1

For anyone in future, I wrote code that will do this. listUrl is a WEB relative URL segment of the list, for example "Shared Documents". Note I'm just setting this.listName here, but at that point you have the full List object, so grab whatever you need at that point. Folder folder = ...



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