Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / February 2008

Tip: Looking for answers? Try searching our database.

Build Forms at "runtime".. possible?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
extreman79@hotmail.com - 27 Feb 2008 10:06 GMT
Hi all.

I'm trying to solve my problem with msdn, google & fantasy :D .. but
no way.. i need an help.
So.. goin' on.

I've a List on a team site (sharepoint/moss 2007) where many operators
need to submit data.
The list have an id field and a UNDEFINED number of other boolean
fields..(today 10, tomorrow more?).. and additional notes fields
(string/rtf)

Then.. I need to build an infopath (2007) form (best if browser
enabled) where the operators fill data and then submit to the list.
Here my problem.

there's a way to get the boolean sharepoint list columns each time?
So... the form open, infopath retrieve and display available boolean
fields, operator fill-in data, submit.

I've searched about moss webservices, way to submit data to list from
infopath, and so on. I've found many many infos.. but i'm out of the
correct way.

I need an help. :(

The last solution (obviously more simple..) is to build a form
library.. and submit the entire form exposing form fields..Is really
this the Right Way?   :-?

Many Thanks
Clay Fox - 27 Feb 2008 15:22 GMT
So you are looking to update this seperate SharePoint List with InfoPath?

Yes that can be done.

If you search on "CAML" on http://www.infopathdev.com  that should take you
down the path of how to insert or update items.
Signature

Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum

> Hi all.
>
[quoted text clipped - 27 lines]
>
> Many Thanks
.-=] ExTrEmE [=-. - 27 Feb 2008 16:01 GMT
Thanks for reply.

> So you are looking to update this seperate SharePoint List with InfoPath?

My target is: build a form that not need to be updated if  new list fields
(of the same type) added.

Actually I can build a form that submit item to a list by webservice.. but
to do this i need to add a fixed CAML into my form, to submit to webservice.
I have items submitted.. but if new fields born :) in the list.. the form
must be updated.

(sorry for my english :P )

there's a way to gain my target? :-D

Thanks again
Clay Fox - 27 Feb 2008 16:29 GMT
With the CAML
The data can be changed and updated.
The CAML just references the structure and is not hard coded to a set value.
So in the form you would query the list, then check if it needed to be
updated and if so push the update values to it from your form.

Otherwise use promoted fields in a library as you said.  But your target
should be doable.
Signature

Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum

> Thanks for reply.
>
[quoted text clipped - 13 lines]
>
> Thanks again
extreman79@hotmail.com - 28 Feb 2008 08:43 GMT
> With the CAML

Ok.

> The data can be changed and updated.
> The CAML just references the structure and is not hard coded to a set value.
> So in the form you would query the list, then check if it needed to be
> updated and if so push the update values to it from your form.

mmmm..  i have not clear in my mind how to do all.. have you one or
more links where i can read something about that?
I've previously used CAML to submit the data to a list.. but with
predefined CAML saved as a resource into infopath form..
If i've correctly understood.. I need to query a list to obtain the
structure (webservice?), than parse the structure and build by code
the CAML.

Sorry.. but i've poor experience on infopath/sharepoint.. and i'm
working without manuals or other :( .. only with google help :-/

> Otherwise use promoted fields in a library as you said.  But your target
> should be doable.

I htink this is the bet way to get my target quickly... so.. i do it
in this way.
But i want to learn how to do it with CAML to obtain a very flexible
solution.. for a 2.0 version :)
So.. i'll wait your suggestions about the great solution :)

Thanks a lot for your support, and sorry for time loss to replying me
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.