Tag Info

New answers tagged

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


0

I don't think these parameters are picked up from the QueryString. They are related to current selected item. https://msdn.microsoft.com/en-us/library/ms473643(v=office.12).aspx. Your best bet would be to write some javascript in the handler as described over here https://msdn.microsoft.com/en-us/library/office/ff458385.aspx Within the javascript ...


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


0

If it is private site then you can take the advantage of Cross Site publishing and Catalog features1. Once you enable the Cross Site publishing then you can convert any list or library as catalog. Read this Blog, may be all features will not apply to Online version but still most of it works. ...


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.


0

I guess the order on the me.aspx page changes with the order in your editprofile.aspx. I would go to central admin -> user properties and there change the order to display the aboutme property after your contact information.


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


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


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


1

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


0

Refer this url for complete steps to achieve OAuth to a SharePoint Online Site. http://spshell.blogspot.in/2015/03/sharepoint-online-o365-oauth.html All the steps are explained in a simple way.


0

Something that might work instead is to click the App Launcher and click the dots and pinning the mail app to the nav bar. This has been helpful in that no matter where you are in O365, you can see if you have unread mail.


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


0

For the app to deploy in non dev sites you need to buy a version, if your are running using trial accounts , you cannot do it. Microsoft provides to test the apps only in dev sites.


0

The above mentioned scenario is working as per design w.r.to SharePoint hosted apps. The first activity in hosted app is authentication which happens in the page load event by calling the context token methods in default page this way oath token will be generated to gain access to SharePoint resources.if you are accessing this outside of SharePoint then you ...


0

Here you can see how SharePoint is looking up the value for "Today" private static string GetTodayValue(string token, IReadOnlyPropertyCollection queryProperties) { string parameterNameFromToken = QueryTemplateHelper.GetParameterNameFromToken(token); DateTime dateTime = DateTime.Now; if (queryProperties != null && ...


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


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


0

It depends on your needs, if you need to provide SSO to your environment you should deploy ADFS. On the other side if you only want your users use their AD password to log on Office365 you should user DirSync. In the fomer scenario the authorization is performed by your AD environment and trusted by Office 365. In the DirSync scenario is actually Office365 ...


0

The problem could be with IE11 Edge mode. If you open Developer Tools > Emulation > Document mode > 10 it might help. From developer's prospective there should be a tag in the head of the page to force IE use 10 document mode. This tag exists in OOTB sharepoint master pages...


0

As i said before, even you exclude the account from dirsync but after that if you login with that account, sharepoint will create a profile for that account. Now on next sync it will exclude it from the sync but again you login with that account, a new profile will e their. You should be fine in term of your worries that if account removed then that account ...


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

I found an excellent reference down below and tried it practically. http://www.edutech.me.uk/microsoft/identity-and-access-management/active-directory/link-microsoft-office-365-organization-account-to-windows-azure-subscription/ let me know if there are any questions.


0

What you did was create a masterpage in the appweb. If you want it in the host web, you'll have to copy the masterpage to the host web's gallery. If you have a provider hosted app, this code would work to do so: using (var clientContext = TokenHelper.GetClientContextWithContextToken(hostWeb, contextToken, Request.Url.Authority)) { var site = ...


0

Try with following module code: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="MasterPage" Url="_catalogs/masterpage"> <File Path="MasterPage\Test.master" Url="Test.master" Type="GhostableInLibrary" Level="Published"/> </Module> </Elements> I ...


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.


0

Since its SP Online I believe your best option is to modify master page. You can either turn on Publishing feature or directly open change master page url. You can find your current master page by appending below link to your site url /_Layouts/ChangeSiteMasterPage.aspx


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

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.


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


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


0

In a new page, with SPServices you can get the current users groups. You could make a list that has the groups and the features that group has access to, then filter the list based on the groups the current user matches to. All done client side using javascript/jquery. <script type="text/javascript" ...


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


0

Yes, you could do so at the document library level, Navigate to Document Library-->Library Settings-->Information management policy settings-->Select the Document Content Type-->Enable auditing checkbox and specify the events required Hope this helps!! If not then please walk through below given article for a bit more information on audit: ...


0

SharePoint Online uses a token based authentication mechanism. To authenticate with SharePoint Online you can use an active or passive approach. Active involves calling a web service to authenticate with and receive a token in return. Passive makes use of a web browser control from which you can then retrieve the security token from the cookies. The token ...


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


0

On the site collection navigate Site Actions -> Site Settings. under Site Collection Administration you will find Site Collection Audit Settings. In the Document and Items section check the Opening or downloading documents, viewing items in lists, or viewing item properties check-box and click OK. Now SharePoint is logging all view/downloads. As viewing a ...


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.


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



Top 50 recent answers are included