Tag Info

New answers tagged

2

Did you try to send your request to e.g. http://requestb.in/ to see if it looks the way it should?


0

You can follow normal installation procedures and create local accounts where you'd normally use domain accounts. This does have some limitations if you want to scale out to more servers. Or in place of the Active Directory you can use Form based Authentication. For this you need to instal ASP.NET and link it you you're SQL Database. After you have prepared ...


0

Thanks for commenting. Later i figure out that, the document i was trying to upload has some weird characters other than special characters in file properties attributes. So after removing those characters, it is working fine.


0

You can do something similar as below String req = "http://sp2k13/sites/ifsp/_api/Web/Folders/add('LibraryName/FolderName')" NTCredentials credentials = new NTCredentials(UserName, Password, "JAVA-MACHINE-NAME", "DOMAIN"); HttpClient httpClient = new HttpClient(); httpClient.getState().setCredentials(AuthScope.ANY, credentials); ...


0

there is a similar question on this site as yours. have you gone through that ? question public void createFolder(String digest) throws ClientProtocolException, IOException { HttpPost request = new HttpPost( "http://industrial-ex/sites/tifdemo/_api/Web/Folders/add('enovia/newfolder')"); request.addHeader("Content-Type", ...


0

I figured out a query (for SP2007). Please note that Microsoft doesn't allow executing queries, so use on your own risk. This is not an answer to the question, but I believe worth sharing. Hope it helps others. The query retrieves some data from the Config database. You might need to change the name of the database in case it differs in you environment. ...


1

Put a dynamic value variable in the response content box and put this in the RequestHeader box: Then after the HttpSend activity add a GetDynamicValue activity in which you extract the values you need:


2

The query /_api/lists/getbytitle('<list title>')/items?$select=* returns list items for visible fields only (SP.Field.hidden property is set to false). To be more precise the expression $select=* returns: visible fields values (query that returns visible field names: /_api/Web/Lists/getByTitle('<list ...


1

your first REST query should work as long as internal name of the position column is same. You can check by running below query which will display the metadata for columns along with their columns. http://thisbox/_api/lists/getbytitle('ThisList')/items you will see something like this: <d:User_x0020_ModifiedId ...


1

Not a direct way. Select only responds to the name/GUID. You would have to do an additional pull to http://thisbox/_api/lists/getbytitle('ThisList')/Fields in order to return the list of names, internal names and GUIDs and cross-reference accordingly.


1

The following example demonstrates how to reorder fields in content type using CSOM var ctId = "0x01020047F5B07616CECD46AADA9B5B65CAFB75"; //Event ct var listTitle = "Calendar"; using (var ctx = new ClientContext(webUri)) { var list = ctx.Web.Lists.GetByTitle(listTitle); var contentType = list.ContentTypes.GetById(ctId); //retrieve fields ...


1

You can do this by handling ItemUpdated event receiver. In that event you can make the web service call. Just add web service to the SharePoint Visual Studio Solution. That will create stub/proxy classes. Now you can create web service object and access all the methods. One thing to keep in mind is that you need to make couple of web configuration changes. ...



Top 50 recent answers are included