Tag Info

New answers tagged

1

You can use: 1. /_api/web/GetFolderByServerRelativeUrl('/LibraryName')/files. If this is not working for you, check the relative URL is correct. For eg: for a site collection starting with /sites/siteColl, relative URL would be /sites/SiteColl/SitePages. Also, navigate to the library to check the correct URL. 2. /_api/web/lists/getbytitle('LibName')/items ...


2

I think these multiple columns only occure, when you rename your workflow during versions. The only downside that comes to my mind is that you will loose your running workflows in that versions (if you have any).


0

In your REST call are you specifying the X-RequestDigest parameter in its headers? If not, you need to. Every REST call needs to be authenticated. You can find an excellent step-by-step guide on how to do this here: http://blog.appliedis.com/2014/10/09/sharepoint-designer-2013-workflow-working-with-web-services/ In case the link goes dead I copy the text ...


0

In your comments you say you have made an attempt but can't break permissions inheritance in your workflow. The answer to your question is yes, you can break permissions inheritance via the REST API from your SharePoint Designer workflow. You will need to use the "Call HTTP Web Service" activity in your workflow and your URL will look like: ...


0

I just found out that IIS / Advanced Settings / Preload Enabled shouldn't be True for Central Admin - this just gave me this error even as everything else was correct. I had switched it on as I thought it could be handy on the development server to be able to access quickly after reboot to site.


0

Make sure you are retrieving the ClientContext object for your my site only. For example you can try this code snippet: ClientContext clientContext = new ClientContext("http://sharepoint/my/personal/admin"); This will load your context of admin site web only, so that you can successfully find the document library and upload the file in it.


0

This solution didn't work for me but this one did http://www.sharemuch.com/2014/03/24/how-to-resolve-server-error-this-file-may-not-be-moved-deleted-when-working-with-sharepoint-master-page


0

You might be able to create a new target for your copy command and have it depend on your BuildWebPackage target. That way the copy will only happen after the package target completes. <Target Name="BuildWebPackage"> <MSBuild Projects="Intranet.sln" Properties="Configuration=Release;IsPackaging=True;" /> </Target> <Target ...


0

These are normal messages to see when we have a process load SharePoint binaries (be it owstimer, w3wp, or PowerShell). It does not mean SharePoint is in "debug mode". These are simply debug messages letting you know what is going on.


0

Although it's not a real answer, I am not able to comment, so here it goes: I have the exact same problem with lists created declaratively with Visual Studio: I cannot use lookup fields inside SharePoint Designer workflow. I created another list in the same site from UI, added an existing lookup site column and when creating a workflow on this new list, the ...


1

Look at the Web Application Service Application Connections. The sites under that web app will use the Search Service App that is selected in the Service Application Connections.


0

Recently my research on OD4B have taken me to Add a Site Collection administrator to all Site Collections in a Tenant by Vardhaman Deshpande, which gives example on how to add site collection admin to OD4B Sites 1) Get the account names of the users in a tenant using People Search. Bear in mind that search has a limitation of returning a maximum of 500 rows ...


0

Nk SP, I believe that LOGbinder for SharePoint will do this for you. It allows you manage the auditing in SP and if someone changes/disables your set audit policy, it will re-enable the audit policy to what you have set and then alert you that the policy was tampered with.


0

siteURL = Main URl of the sharepoint (eg) "http://10.0.0.14:48487/"; documentListName = any of the folders in shrepoint (eg) Shared Documents documentName = name of the file (eg)sampleword.docx , readme.txt etc documentStream = the byte format of the file which we going to upload. (eg)byte[] bytefile = System.IO.File.ReadAllBytes(filepath+filename); ...


0

Alternatively you can create a BCS External Content Type for the SAP database and import the info directly provided you can map the user login to the incoming data from BCS/SAP.


0

Make your SAP application fill the ExtensionAttribute(s) in the AD then Map those AD ExtensionAttributes to Fields in the SP Userprofile


0

Background Document libraries are actually just a special kind of list in SharePoint. This means that for every document uploaded to a document library, a list item and a file are created. The list UI and CSOM calls allows you to manipulate the metadata (list item) or the document (file). These types of operations are mostly handled at the logical layer. ...


1

If it's posible. Here are the steps: Create a list in the root site. Create a site column (of type lookup) in the root site referencing the list created in step 1. In the sub site, in a list, create a column using the "Add from existing site columns" And ready. Learn more in this article: Create a SharePoint Lookup Column to Another Site


2

I would suggest to use a simple IDE to develop your code. This IDE will help you by finding simple errors. A free example for a IDE is Visual Studio Code but there are loads of IDE's for you to choose. Here's the output if I paste your code: After knowing the simple errors fixing is not the problem - at least the ones caused by bad syntax.


0

Yes, you can upload your file. Basically, for this kind of approach, .Net Managed Client Side Object Model (CSOM) is used. For that you need to manually add the Microsoft.SharePoint.Client.dll & Microsoft.SharePoint.Client.Runtime.dll reference in your project, so that you can use the ClientContext object of SharePoint which will allow you to upload the ...


1

Great question. There's no good answer. SSRS (reporting services) is the old man in BI. It produces "traditional" reports, it works with virtually any type of data source, there's lots of documentation, it has robust capabilities in the areas of caching, etc. However, it hasn't been updated in quite a few years, and it doesn't seem like any significant ...


0

Today I went back in to the chart's Data & Appearance>Customize Your Chart> Data Labels and Markers tab and set the format to Percent, same as I did the other day. But this time it made my markers display as the correct percentages. Wonderful! Problem fixed!


0

This type of error occurs when you have delete something and do not updated. For example if you have deleted one custom view and did not update list, and again you are trying to add a custom view with same title and get that view, then you will get this error. If you have deleted the list or list item and did not update the list, and trying to add new ...


0

in case anyone face this issue ,, one of the infrastructure has installed SP RTM version this is the steps that solved the issue ,, 1)turn off SP services and IIS server 2)install SP3 on the SQL servers. 3)turn on SP services and IIS 4) run the configuration wizard.. every thing worked except the meta service DB , i just re-create them since we dont ...


3

The SharePoint way is to create a dropoff List and use a Workflow with elevated permissions to transfer the data to the main list. For Documents Microsoft has even built the whole Content Organizer for you https://samlman.wordpress.com/2015/02/28/sharepoint-2010-content-organizer-part-1-a-cool-new-feature-for-managing-your-content/


0

That's definetely not possible, "by design", since it would mean anyone, from the client-side, could elevate privilèges and gain access to any content! Only server code can elevate privileges. Thus, the only option would be to host a custom service on the server, and call it from the client. Your custom service would then be responsible to check whether the ...


4

JSOM code runs under the permissions of the current user. So, its access level is similar to the access level of the current user. You can't elevate permissions here since it would be a huge security issue. As for CSOM code (C#), you can impersonate credentials by using context.Credentials or by creating an app which uses app only permissions. App only ...


0

I agree with Robert - SharePoint has one of the worst markup around. While the Master page, page layouts are easier to work with - when it comes to Bootstrap, the inner lists are even worse. I built a Javascript Plugin that you can add into your CEWP. http://michaelsoriano.com/sharepoint-bootstrap-using-spservices-and-jquery/ This requires SPServices, ...


1

We found out that the Workflow was created using Nintex and that is why we were getting this error.


0

I add a section and then insert an image to this section. And add a rule "hide" to this section. It works well.


2

As mentioned here in MSDN, There are two functions in SP to get the properties getUserProfilePropertiesFor // for multiple properties, not availablee in REST GetUserProfilePropertyFor // for single property MSDN documentation has clearly stated that the "getUserProfilePropertiesFor" method is not implemented in REST (search for ...


1

You have to edit the page in SharePoint designer and the following tag <WebPartPages:AllowFraming runat="server" /> When building your iFrame use the &IsDlg=1 or &isdlg=1 query string parameter as well to hide the SharePoint Chrome. Note IsDlg = 1 (Hides chrome and wont' display scrollbars for content) isdlg = 1 (shows scrollbars)


0

After a long research, I found the below for modifying the url of the SharePoint site used for fetching the data: Open the xsn file in design mode Go to File-> Pubish -> Export Source Files. A folder will be created with manifest file Open the manifest file and change the url (as per your requirement) Save the manifest file and then change the extension ...


0

Your Calculated Formula is re-evaluated on every Item Update, thats just how it works. Indeed a Workflow and an extra Column to store the previous Status value is the way to go. On SP2013 you can also do it with CSR - Client Side Rendering Javacript code which sets a Date field when Status is changed.. but that requires an extra Column to store the ...


0

Finally i found a post and mixte authentification are configured when creating a web application. Here is what i follow http://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database/


0

You cannot do it with a formula. One option is to develop an event receiver and compare the old value of the status field with the new value. If they are different, you can update de "Status Update Field".


1

If you are okay with a code base solution then you can create a custom event event receiver. You can have a ClientScript.RegisterStartupScript to show the pop up in the ItemAdded Method.


3

You can use SharePoint's PreSaveAction() where you can check for the values and create a popup. This function is automatically called when user try to save an item. Below are the steps to use it: Add a script editor webpart on your page Write the below code in it and save jQuery is optional though you'll always need to return true or false depending on ...


0

What have you tried thusfar? https://msdn.microsoft.com/en-us/library/office/jj163272.aspx


1

You need three additional headers: "X-RequestDigest":"value" A unique security token to validate your requests. "X-HTTP-Method": "MERGE" To indicate that you're performing an update "If-Match":* To handle concurrent requests. This actually has 2 values viz. item.__metadata.etag representing the actual item tag and * to handle any value. As an example ...


0

Use SharePoint Farm (Free version of SharePoint (SharePoint Foundation)) and use it for back-end system to store your files in different Libraries and Lists. Here, you can manage your documents' versions and metadata. You can upload and download documents from your website by either providing them direct url from SharePoint or create facility on your ...


0

You can easily setup a SharePoint farm (probably a simple and free SharePoint Foundation would be enough) and use it only as a back-end system to store your files. SharePoint stores files in document libraries (and technically, they all end up in the SQL DB). You can use your SP programmatically from your ASP.NET application: by using OOTB REST ...


2

Although I couldn't find a way to retrieve the custom user profiles by using the user profiles REST api since the properties are returned in an array and AFAIK no existing method exists to filter them from the URL but since some of the OOB user profile properties are stored to the user information list, you can maybe try this: var userId = ...


-1

I would also add to the list of the web parts that you can use to change your AD password within SharePoint environment is Virto SharePoint Change Password Web Part. It supports both AUTH methods - AD and Form-based. You can download it here. As I know boost has a similar web part too. Hope it will help you!


0

Stretched farm is not supported in general scenario. MSFT recommend highly consistent intra-farm latency of <1ms, 99.9% of the time over a period of ten minutes. IF you have that available then you can build the farm across two data centers. I would create Farm in the One Data center( WFE and DB servers in same data center). For high availability, i ...


2

Yes, this works for the 2010 workflow platform. If you do have the 2013 workflow platform configured up, there is a action that let's you trigger one or several other workflows based on your conditions.


1

Yes,List B workflow would run in your scenario


4

As Calculated Columns do not work across Items you have to use a Workflow to alter the other items. But.. You have to know I have a fetish for Calculated Columns The million dollar question is how you order your 10 items You can achieve this: With a Calculated Column with some JavaScript =IF(ISBLANK( [OpenDate] ) ,"<img ...


0

Ended up using a simple workflow in the end as I could not find an alternative option!


1

Try http://site/_api/web/currentuser. This should return the current logged in user that is used to send the REST query.



Top 50 recent answers are included