Tag Info

Hot answers tagged

5

You could utilize GetItems method and specify the following query: <View Scope="RecursiveAll"> <Query> <Where> <Eq> <FieldRef Name="FSObjType" /><Value Type="Integer">1</Value> </Eq> </Where> </Query> </View> to return all ...


3

You don't need to install SharePoint locally for Office 365 app development. Following are packages you should install along with Visual Studio 2012 Office Developer Tools for Visual Studio 2012 SharePoint Client Components Windows Identity Foundation SDK Windows Identity Foundation Extensions Workflow Tools SDK and Workflow Client SDK Check this ...


3

It's true that you don't have the SharePoint Server nor the SQL Server options for backup/restore of your choice. But Microsoft backup everything on Site Collection level and keeps them for two weeks. You can raise a service request and get a restore of your site collection in a RPO fashion. Besides this there are alternative Restore options in SharePoint ...


3

On your site, view the source of the start page (ctrl + U) and search for JavaScript variable g_wsaSiteTemplateId. You'll get the Template ID like this var g_wsaSiteTemplateId = 'STS#0'; Then just find what template that is in the list presented in the article SharePoint 2013 Site Template ID


3

In order to return list url you could utilize List.RootFolder.ServerRelativeUrl property. Some recommendations From performance perspective prefer server side filtering over client side one, the example below demonstrates how to query lists filtered by BaseTemplate: /_api/Web/Lists?filter=BaseTemplate eq '101' Example $.ajax({ url: ...


2

Recently I answered a very similar question here. If you need all of the folders and subfolders (but no documents) recursively from a document library, that is what you should use (send it via POST to the server due to GetItems method call): /_api/web/Lists/GetByTitle('Title of your doc. ...


2

The error: The remote server returned an error: (403) Forbidden. occurs since authentication is required for this operation in SharePoint Online. You could utilize SharePointOnlineCredentials class from CSOM API for that purpose. The following example demonstrates how to download RSS feed from SharePoint Online and save it into file. Complete ...


2

you can lock a site using the Powershell or CSOM approach. Their is one command(Set-SPOSite) in SharePoint Online which set the lockstatus to the site collection. Sets the lock state on a site. Valid values are: NoAccess and Unlock. When the lock state of a site is NoAccess, all traffic to the site will be blocked. If parameter NoAccessRedirectUrl in ...


2

I think this is not supported in SharePoint Online (http://community.office365.com/en-us/f/154/t/223877.aspx). I would suggest you remove the permission of users by adding them into Reader Groups. Or temporarily change group permission to Read Only.


1

If the user who you are Sharing File is part of SharePoint then you can simply pass the URL to the user, who can access the file directly. For external users, you can get this link using ObjectSharingInformation class. This class has property AnonymousEditLink and AnonymousViewLink You can use below snippet for that var item = //code to get list item.. ...


1

You could use a custom list for products. Create columns for that list, so every item in that list will describe your product (Product Title, Category, description, price, version, anythingelse). For every item in sharepoint list you could add attachments.


1

What about a normal list but make a custom field where you can add the different properties and a field to add attachements (like your pdf/excel)? This is achieved by adding a 'add attachement field' in list design mode.


1

these settings are not exposed to SharePoint Online as per MSFT policy. To change this value, you have to login on the central admin and change it but we dont have access to central admin. You are right this is only available in the SharePoint On prem.Please check the below blog for Office 365 limitation: ...


1

You are not looking for easy option, many 3rd party tools totally depend upon backup / recovery products. What i am seeing, in order to perform a backup or restore you need more than Site Collection admin rights,to access the backend stuff i.e. run the powershell to take the backup and put the file on the server or shared network location. Check this How ...


1

From what I have read here, Delve doesn't use any master page. You cannot make script injection in Delve...


1

Get-SPAppInstance cmdlet along with another cmdlets are supported in SharePoint On-Premises only, they are not supported in Office 365. The following script demonstrates how uninstall App in SharePoint Online: Prerequisites: SharePoint Online Client Components SDK [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client") ...


1

Remote Provisioning. Remote provisioning is model where we actually do the template system outside of the SharePoint by using the new SharePoint app patterns. In this case we would be using provider hosted pattern to provide customizable sub site creation experience for the end users of the SharePoint. Very good explanation over here Site ...


1

SharePoint CSOM API does not support system update (SystemUpdate method counterpart from SSOM API) but you could manipulate system fields like Modified By and Modified fields directly as demonstrated below. Prerequisites: SharePoint Server 2013 Client Components SDK using (var ctx = GetContext(webUri, userName, password)) { //get List Item ...


1

You can create Site Columns that have these properties: Person or Group and Metadata Keyword where users are allowed add keywords that doesn't exist. These site columns can be added to a Content Type which may be a Docement or a Page or anything else. Navigate to Site Settings and find the links you need in the group Web Design Galleries.


1

I don't think you should focus on DirSync, as this only is a part of the issue/solution. If you have a lot of cloud-only-accounts (e.g. user@tenant.onmicrosoft.com) they would show up anyway, regardless of DirSync-settings. As far as I know there is no way of excluding your service desk agents, administrators etc that use such an account-type from the user ...


1

You can use DirSync for this purpose DirSync is simply a pre-configured Microsoft Identity Integration Server [MIIS] installation specific for Office 365 integration There are 3 ways of setting up directory sync filtering: Organizational Units based, which allows you to select which OUs are to be synced to the cloud; Domain based, allowing you to ...


1

Not really. When a user removes a SharePoint-Hosted app in SharePoint Online, it goes into the recycle bin and the uninstall event does not fire. The uninstall event will fire when the app has been removed from both stages of the recycle bin.


1

I actually figured out a way to do this. Will blog about it sometime soon, but in short: In SharePoint Designer, save the workflow as a template. Download the template (WSP) from the Site Assets library. Import the WSP into a Visual Studio project as described here: https://msdn.microsoft.com/en-us/library/ee231603.aspx Add this new workflow project to ...


1

I had this problem over the past couple weeks as well. Under the current procedure, it appears you have to assign your admin account a license after creating the O365 trial account. You can assign the user account a license from the admin dashboard by going to users > active users > select admin account > edit assigned licence > select Office 365 licence.



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