Build Forms at "runtime".. possible?

E

extreman79

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
 
C

Clay Fox

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.
 
E

.-=] ExTrEmE [=-.

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
 
C

Clay Fox

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.
--
Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum


.-=] ExTrEmE [=-. said:
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
 
E

extreman79

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top