Page 1 of 3
Forms designer forms provision
Posted: 26 Aug 2014
by Андрей Тарутин
Below I asked about cross site lookup columns provision programmatically. What about forms provision? I know I can import and export forms. Can I do it programmatically?
Re: Forms designer forms provision
Posted: 26 Aug 2014
by Dmitry Kozlov
Sure, you can use the following web service:
/_vti_bin/formsdesigner/fdservice.svc
Method called PublishForms:
PublishForms(Guid listId, String contentTypeId, Guid groupId, Forms forms, string layout, out ServiceFault fault);
If you don't use
groups functionality, please, pass empty guid as groupId argument. Layout string is content of exported XFDS-file.
Re: Forms designer forms provision
Posted: 26 Aug 2014
by Андрей Тарутин
It's great, thank you!
Re: Forms designer forms provision
Posted: 02 Feb 2015
by Christian Heinrich
Hello,
i tried calling the webservice, but unfortunatelly, Visual Studio cannot access the service for making a reference for it, neither I could directly call the service from browser, I only get a HTTP 400 ("Bad request") error when doing so!
I hope you can help me with accessing the webservice or get rid of the error.
Re: Forms designer forms provision
Posted: 02 Feb 2015
by Dmitry Kozlov
What version of SharePoint do you use: SP2013 or SP2010?
Re: Forms designer forms provision
Posted: 02 Feb 2015
by Christian Heinrich
Its SharePoint 2010 Server Standard, and I use an extended trial license...
Re: Forms designer forms provision
Posted: 02 Feb 2015
by Christian Heinrich
Oh sorry, I missed its the forum for SP2013 Forms Designer, big sorry! I hope you can help me anyway.
And should I re-post in FD 2010 forum?
Re: Forms designer forms provision
Posted: 02 Feb 2015
by Dmitry Kozlov
OK, thanks. Please, try the following URL:
/_vti_bin/formsdesigner/fdservice.svc/mex
Re: Forms designer forms provision
Posted: 02 Feb 2015
by Christian Heinrich
Now it works! Totally forgot about that trick with WCF services
Thank you very much!
Re: Forms designer forms provision
Posted: 01 Apr 2015
by Андрей Тарутин
Dmitry, what about automating export? Is there any method?