Tag Info

Hot answers tagged

5

There is a couple of reasons for this: SharePoint is from companies point of view a Microsoft product, so if there is a security risk then it's seen as Microsofts fault. This is the reason for Microsoft to putting in a lot of security into SharePoint which by default isn't in ASP.Net like: not running full trust not allowing updates on GETs and ...


4

You are missing a couple of rows in a working script. First, after setting the oList variable you need to load it: clientContext.load(oList); Then you need to fetch the value by calling: clientContext.executeQueryAsync( Function.createDelegate(this, onQuerySucceeded), Function.createDelegate(this, onQueryFailed) ); Now, you need to create the ...


3

None of these features required to be activated to perform the Search on the Site. Search will work without these. These features used when you want to import /export the search configuration from /to another site collection. SharePoint 2013 Design Manager design packages You would choose this option if you are designing a site and creating ...


3

You dont need to activate any features in your site. Just configure the contentsource in the serchservice application in your central administration to crawl that site. Here's some more info on that


3

Before modifying item, you should Disable event firing this.DisableEventFiring(); After finish updating you can Enable it using this.EnableEventFiring(); Identify if event is fired as part of Check-in if (properties.AfterProperties["vti_sourcecontrolcheckedoutby"] == null && properties.BeforeProperties["vti_sourcecontrolcheckedoutby"] != null) ...


3

After some amount of research i found a site which provides free site creation online!! https://www.cloudappsportal.com I also managed to create a free site :) This site is actually great! I gave this url and i was able to create sharepoint app for that site and deploy it!!


3

You can use the Copy List Item action to copy a document from one library to another. I suggest you these useful links: SharePoint Designer Workflow: Copy a document from one library to another SharePoint Designer Workflow: Move a document from one library to another


2

@Nk SP has provided the correct references that would help you to copy documents from one library to another including PDF documents. But regarding the last statement that you mentioned in question - "The trigger will be a user ticking a tick box" would not be possible with SharePoint Designer Workflow. SharePoint Designer Workflow is triggered on 3 events: ...


2

It is one of the limitations Microsoft clearly states as why you should use 32 bit office instead of 64 bit. In SharePoint, the list view won’t be available. See Choose the 32-bit or 64-bit version of Office on https://support.office.com And in your bounty you mention It currenty only works for 32bit office. The majority of the users I support are ...


2

First, you need a web application created on farm B at http://af-spt1-srv Second, lets clean up your command...it has a mix of parameters from remove-spsite and restore-spsite and some you just don't need. Use this instead: Restore-SPSite -Identity "http://af-spt1-srv/sites/test" -Path C:\Users\spvfarm\Desktop\t\hrc.bak -DatabaseServer af-dbt1-srv ...


2

No based on my understanding. SharePoint is a complex server which has lots of dependencies. What you can do is create a Developer Account in Office 365 space. Then use that for developing apps. https://msdn.microsoft.com/en-us/library/office/fp179924.aspx


2

Cross domain calls are blocked by modern web browsers due to security concerns. To get round this you can use the SP.RequestExecutor.js script to relay messages to SharePoint from within the same domain. Example function getListItem(hostUrl,appWebUrl, listTitle,itemId,success,error) { var url = appWebUrl + ...


2

In SharePoint Designer 2013 (or 2010), you can create a workflow that pauses until a specific date and then resumes to send your alert. To send the first email of the year you can once manually start the workflow and the workflow kicks off and continue. Then it pauses until the date you want, sends the email, and then pauses again until the next date. To ...


2

AlwaysOn is a great new feature to SQL Server 2012 that allows consuming clients to have a mirroring and failover database solution all transparently for a single named instance. SharePoint is one such consumer of SQL and depends on having a solid connectivity to run. If SQL goes down, so does SharePoint so it’s well within our interests to configure a ...


1

Sharepoint workflows have always run under the context of the user who initiated the workflow process. There were ways to run as the system account in 2007 but that was removed. In 2010 there are impersonation steps that allow actins to run under the context of the person who publishes the workflow. I believe the impersonation steps exist in 2013 as well.


1

Their is no OOTB method to save the searches, rather you have to create your own custom code.here are couple of ideas. Create a ‘Save My Searches’ Feature in SharePoint 2010 with JavaScript/jQuery Get last search query


1

You can use below script for removing all Workflows Associated to a Particular List $SPSite = Get-SPSite "http://siteurl" $Web = $SPSite.OpenWeb(); $SPList =$Web.Lists["ListTitle"]; $workflowAssociations = $SPList.WorkflowAssociations; if($workflowAssociations -ne $null) { foreach($wf in $workflowAssociations) { ...


1

Adding Orderby element was helped to make it work as follows. @"<Where><BeginsWith><FieldRef Name='custaname' /><Value Type='Lookup'>Prab</Value></BeginsWith></Where><orderby><FieldRef Name='title' Ascending='false;/></orderby>";


1

Following is an example of simple routing rule creating in record center which routes the Content Type “Document” to the /Records/Records Library. $mainURL = "URL" $RecordCenterURL = "RECCENURL" $web = New-SPWeb $RecordCenterURL -Template "OFFILE#1" -AddToTopNav Now, here is the chunk of code to Create the Content Organizer Rule. Write-Host ...


1

Depending on the field type, you may not be just able to set the field value like you do it with simple text field type. E.g., with multi-choice fields you would do it like this: $choicevalues = New-Object Microsoft.SharePoint.SPFieldMultiChoiceValue; $choicevalues.Add("Green"); $choicevalues.Add("Blue"); $i["multiplechoicefield"] = ...


1

In my solution I had a event receiver and some content type definition. I splitted it in two different solutions (one with event receiver and other with definitions) and now it is working. Actually I do not know why (I did not change code at all), sad story.


1

Add http://ca.myapps.comany.lk as an intranet url in AAM Open the IIS manager. Select central admin site and edit the bindings Also make sure http://ca.myapps.comany.lk is properly configured in DNS Update Go into IIS Manager Right-click your site and choose Edit Bindings Add a new http site binding with the cname in the Host Name box


1

This is probably the classic NTLM double hop issue. Please see this other question: Password required? The remote server returned an error: (401) Unauthorized


1

A sharepoint app essentially exists in a domain. So you need to either use SP.RequestExecutor.js or use SP.AppContextSite This is the structure of the URL if using SP.AppContextSite var url = appwebUrl + "/_api/SP.AppContextSite(@target)/web/lists/getbytitle('"+listName+"')/items?$select=Title,ID&@target='" + hostUrl + "'"; This is the general ...


1

This looks like a typical Same-Origin-Policy issue that may be solved configuring CORS on the remote server, and may be worked around proxying the communication between your server and the remote server: put some piece of software in your server that performs the real requests to the remote server. This way, all the calls from your browser will be to the ...


1

If your ultimate goal is to get SharePoint list items using JavaScript, then you can refer below set of functions. Also you can refer this useful msdn blog. function getListItems () { try { var clientContext = new SP.ClientContext('http://www.vignesh.cloudappsportal.com'); var oList = ...


1

Datasheet views don't support Web Part Connections and instead of ignoring them, unfortunately they just fail to display. In order to make this work you should create and view and then use DataSheet view for editing.


1

It really depends on your needs. So your question is quite general. You are able to reuse the control from SharePoint OOB that is being used in the My Sites. But if you want to get kind of JSON data out of the Active Directory you need to provide a custom solution. Either you implement a CustomControl that is accessing your Active Directory with .NET or ...


1

First you have to create a web application in farm B. After creating the web application, get the URL and execute the command bellow: Restore-SPSite -Identity "<webApplicationUrl>/sites/test" -Path "<backupFilePath>" -DatabaseServer "<DBServer>" -DatabaseName "<DBNameCreatedWithTheWebApplication>" -Force If your farm is using only ...


1

I did find a solution.. However I don't know how practical it is. This is what I did: Installed Visual Studio 2012 on my Staging. Updated it with 'Update 4'. Installed office tool for VS 2012. Got the work flow code and deployed it via Visual Studio. (And the deployment worked). Retracted the solution via Visual Studio. Added the .wsp files manually via ...



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