New answers tagged

0

An alternate solution is to make use of Event Receivers. Apply a event receiver on the list you want to monitor and write the code to shift/ fill data into the destination list.


0

Option 1:If you are trying to avoid custom code, the only way I see if to create connected web parts. So you will have a page with the master list view web part (the one with the unique id) and underneath it place all the other lists (list view web parts) and you create a connection between them based on the unique ID. Option 2: this is a little heavy on ...


0

No, you can only process only one web in a single REST call. First of all, how did you refernce a lookup field from a list that is present in another web? Iguess that should be a custom feature using cross site publishing. But REST cannot be used in that way. Only if your 'Document Library' and the lookup list is present in the same web you may get the ...


0

Posting as an answer... Use a people field in stead of a lookup field. You can then retrieve the email address from the user indicated.


0

I've addressed similar situations creating External Content Types that populate my external lists from another sources (another site, another application and even another databases) that means that you need to have de BCS Service running and to develop a little visual studio solution to define which columns will be synced, you will need SP Designer too. ...


0

In order to execute batch request, data format of user field is: {user id};#{user name} For example, we have two users like spUser1 (user Id is 1) & spUser2 (user Id is 2). For single user field, the data format should look like according to above format 1;#spUser1 Or 2;#spUser2 Now, if our user field allows multiple users and we wish to ...


0

This relates to Content types as documents in a document library are associated with the "document" content type and folders are associated with a content type called "folder". This is why you see custom library columns in documents and not folders for example. The lookup field is most likely found in your libraries default content type called "documents" ...


0

Here is working code for update lookup type custom field using csom DraftProject projCheckedOut = pubProj.CheckOut(); projCheckedOut.SetCustomFieldValue("Custom_84b123afe227e61180d800155d1c7718", new object[] { "6766928a-e227-e611-80da-00155d1c9615" }); //Custom_84b123afe227e61180d800155d1c7718=Lookup type custom field GUID....


0

Example url for the rest query, you can use this query and replace with your fields _spPageContextInfo.webServerRelativeUrl + "/_api/web/lists/getbytitle('Projects')/items?$select=userfield/Title&$expand=userfield/Title


3

Just resolved my problem. If you want to send an email to user in person field, the recipient configuration should look like this:


-1

Without using $expand it's not possible to get lookupValue in REST API. But hopefully you will get lookupId using REST API by selecting SectorId /sites/MySite/_api/web/lists/getbytitle('MyList')/items?$select=SectorId&$top=100 Otherwise you need to go with JSOM only.



Top 50 recent answers are included