Tag Info

Hot answers tagged

4

The rest interface is not available to anon users by default. It can be enabled, but MS recommends against it. The preferred solution is to enable the search rest api for anonymous access, and retrieve all data that you need via that. A good article that explains the above in detail. Waldek's post that is a good explanation of how to enable the search api ...


3

Yes, You can One Sql Server with two Different SharePoint Farm. Currently i have two Dev farm(2013) sharing the Same Database server. As long as you have unique Names for yoru Config & content DBs. Having Enough hardware to support both farm I am positive you will not do this in production, big risk. IF DB server goes down...both farm will go down.


2

In order to develop SharePoint solutions (farm or sandboxed), you must have SharePoint server installed. You can develop SharePoint apps without SharePoint Server, but you may need the Office Developer Tools, depending on your version of Visual Studio (the latest version of 2013 may have them installed already). SharePoint 2013 does not support Windows ...


2

Since your ultimate goal is to manage visibility of navigation nodes based on user permissions, let me demonstrate another approach (no code solution). How to configure Audience for Navigation nodes: Go to Site Settings -> Navigation select Navigation Heading or Link and click Edit link specify Audience property. The figure below demonstrates how to ...


2

In SharePoint 2013, selecting a document in a document library does not show the ribbon commands automatically and you need to manually click on the ribbon tabs (Files/ library) to use the commands. In SharePoint 2010, when you select a file checkbox in a document library, the 'Document' tab of the library tools ribbon automatically gets enabled with its ...


2

After you click on Export to Excel. Click on Open instead of save. The list would open in Excel. Then just do a Save As from excel File menu.


2

This question resembles this other one: Call HTTP Web Service: Unauthorized Ideally, you should publish the code as a web service into SharePoint instead of an Application page (as that is pretty much the same thing without the proper infrastructure). Also, make sure you set the Header Dictionary into the proper property. SharePoint Designer misleads you ...


2

Apps was introduced in SharePoint Server 2013 and is based on a new concept usually depending on client side code, especially in Office 365. But on premise you can still use .net framework to produce apps for SharePoint Server. An app is supposed to work in an isolated container who shouldn't have the potential or risk to break a SharePoint Page, which a ...


2

In the update item activity. You can use following look up


2

SP.Site object exposes SP.Site.owner property to get or set the owner of the site collection. REST endpoint: http://<sitecollection>/<site>/_api/site/owner


2

Service accounts are accounts in Active Directory or you local system that are used by a Service (example: running the SQL Server Agent, Running the Search Crawler, ...). Managed accounts are Service Accounts in Active Directory or your local system that are managed by SharePoint (example: automatic password management). The difference between them is ...


1

For some reason, SharePoint Designer WF do not like sending emails to user and permission groups. One way to get around this is to create your email groups for your workflows in a separate list, then create a workflow variable to set the user names into the variable as a string. Then use the string as a collection of your user group names and set them as ...


1

Check you are not using System Account for testing. Workflow will never start automatically with system account. Check the options Start workflow automatically when an item is created or changed from Workflow Start Options.


1

SP Foundation does not include the User Profile Service, as @Aveenav noted. Therefore you probably do not have access to the REST endpoints for that service. Instead you will have to use the user information list to get this information. This will require two requets: one to get the current user's id, the second to get the user's info that you want. ...


1

Well they should be same, specially when you are going to use Backup/Restore of site or Import/Export. If you are just going to prepare a WSP solution and use that in different environments, it should work but there maybe complications. Safe side, they should be same versions. You have two options: 1- Either you use External Content Types, External Lists ...


1

Thanks for the help, unfortunately it didnt work for me since there where something wrong with my SP.Publishing reference. Instead I fixed it with this code: $(document).ready(function () { if (window.location.href.indexOf("_layouts") > -1) { $(".ms-breadcrumb-top").show() } else { $(".ms-breadcrumb-top").hide(); } } All ...


1

SPWeb has RootFolder which internally has WelcomePage property. You can use that to get this information var clientContext = new SP.ClientContext.get_current(); var spWeb = clientContext.get_web(); var rootFolder = spWeb.get_rootFolder(); clientContext.load(rootFolder, 'WelcomePage'); clientContext.executeQueryAsync(Function.createDelegate(this, ...


1

SharePoint hosted apps support JavaScript client object model and REST. Dot NET client object model is not supported in SharePoint hosted apps. However, Dot NET client object model is supported in cloud hosted apps.


1

You should be using Client Side Object Model while creating Apps for SharePoint. You can use MSDN as starting point to find out how to create those How to: Create a basic provider-hosted app for SharePoint How to: Create a basic SharePoint-hosted app How to: Create a cloud-hosted app that includes a custom SharePoint list and content type


1

Have you tried putting your workflow in Impersonation step. Impersonation step- here workflow will run on its publishers account. I am not sure of similarity between App step and impersonation step, in case they are same then change the user who publishes the workflow. I had issues with impersonation step, when I was publishing it with site collection ...


1

Yes, you can achieve this using SharePoint Designer 2013( its free :-) ). For this, Open the site which contains the list in SharePoint Designer 2013. Select the List from List and Libraries section. Select your list. Under the forms section, click on New. On the popup, provide your form name and select New\Edit\Display. Check the set as default form.... ...


1

You should get the current site collection rootweb url as below String siteUrl = SPContext.Current.Site.RootWeb.Url;


1

You may use Event-receivers for this. To be more precise you can write Item Added event receiver on List A. This will copy the required fields from the current row in list A and create a new row in List B with the copied columns. You can find sample code here. You may need to modify it a bit as per your requirement.


1

Yes. You can create a document library. And then break the permission inherited from its Parent. Now you have full control on the library and choose who can view/edit documents.


1

You may want to take a look at this link: Users, groups, and roles REST API reference. As noted by the comments from @eirikb and @Vadim, the url you are using will never give anything close to a list users.


1

you can set the filter on the list view, like this Having done that set the modified view as default and delete all others views, as administrator create a new view but as Personal View, so only you can see it. And for disable the alerts, follow this link None of this solutions are 100% efficient if the user are not set in groups Good louck with that.


1

Please switch from custom .master page to default one, and test if it works then. Looks like your custom master page has some MOSS specific styles and even JavaScript that is not compatible with SP2010. Start from default master page and copy custom styles/JavaScript and other customizations one by one to determine which one is breaking the functionality. ...


1

Not, for do work in SharePoint from Visual Studio is required have install SharePoint (2010, 2013) in you local machine. For know how to install SharePoint in Windows 7/8 read this: Installing Sharepoint 2013 Windows 7


1

A default value formula cannot reference another column because the list form does not support a dynamic recalculation of the default formula. If you need to set a default value based on another column, and still have that user editable, you can use InfoPath to customise the form, or if you don't have that, use Javascript / jQuery to set the field.


1

In best practice scenario, it is true. Dont use this wizard to configure all the services applications. You use the Config wizard very 1st time when you configure a farm and on first server to provision the state services(unchecked all other services applications). Once it completed then on all remaining server don't run it. Once Farm configured then you ...



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