Can I get the "User ID" from Sharepoint to use as filename for For

S

Seth U.

Hello,
I am using Sharepoint and Infopath. I want to get the Sharepoint User ID and
use it as part of the filename when the InfoPath Form is submitted through
Infopath. This will make the filename unique to the individual that submitted
it.

Is there a DataControl & formula that can be used to accomplish this?
I am assuming that InfoPath can get the user id from the Sharepoint site,
but I do not know this.

Thank You in advance for any help or information.
 
A

Alan

You can set the default value of a field on the form to the user name. How
that gets used to save the form with that name I have not figured out yet,
but that is similar to what I want to do using Sharepoint. I do not want
strange file names for each item submitted. Want to make that a formula or
something.
 
M

Mike C

If you have a submit connection to the Document Library set up already you
can use this formula in the section for "File Name:"

concat(userName(), " - ", now())

This will show the username and date time.
 

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