Is there a way to pull the Document Library record ID from sharepointinto InfoPath after the initial

A

aspnerd

Is there a way to pull the Document Library record ID from sharepoint
into InfoPath after the initial submission?

I have a multi-step form and towards the end of it's approval path I
need to grab the unique record ID from the sharepoint document
library.

Is this possible?

I have tried making a data connection back to the list and only
pulling the record which was the 'active record' related to the form,
but still no ID is coming back.

Any help on this one?

Thanks in advance!!
 
C

Clay Fox

The data connection only pulls the fields which ar ein the defualt view. Add
the record ID to your default view and then you should be fine.
 
A

aspnerd

The data connection only pulls the fields which ar ein the defualt view.  Add
the record ID to your default view and then you should be fine.
--
Clay Fox / Microsoft InfoPath MVPwww.InfoPathDev.com/ The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum










- Show quoted text -

That didn't work. Any other ideas?
 
C

Clay Fox

Have you verified that you are getting what you should?

Create a default view in Sharepoint that shows everything you want in
InfoPath.
Create a new form and add the data connection to the library have it run on
open.
Drag the whole secondary data conection on to your form as a repeating table.
Preview and verify that you are getting the data that you see in Sharepoint.

This basic functionality should work. If it does, then you would need to go
through your existing form and reset the data connection or look at other
things that might be changing it.
 
A

aspnerd

Have you verified that you are getting what you should?

Create a default view in Sharepoint that shows everything you want in
InfoPath.
Create a new form and add the data connection to the library have it run on
open.
Drag the whole secondary data conection on to your form as a repeating table.
Preview and verify that you are getting the data that you see in Sharepoint.

This basic functionality should work.  If it does, then you would need to go
through your existing form and reset the data connection or look at other
things that might be changing it.
--
Clay Fox / Microsoft InfoPath MVPwww.InfoPathDev.com/ The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum






- Show quoted text -

In the data connection wizard...

When the checkbox 'Included data for the active form only' is
UNchecked I get all of the records.

When that checkbox is checked...I do not receive any records.

Is the active form the record I've opened?

This is the only reference I have to this secondary data connection. I
don't need this until the 5th step in my form, and at this point the
record ID has already been created. It's my understanding that
whenever the form is opened it refreshes the data from the data
connections. Does it also refresh the secondary's?
 

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