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.
Alan - 22 Mar 2007 14:48 GMT
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.

Signature
Alan
> Hello,
> I am using Sharepoint and Infopath. I want to get the Sharepoint User ID and
[quoted text clipped - 7 lines]
>
> Thank You in advance for any help or information.
Mike C - 30 Mar 2007 21:02 GMT
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.
> Hello,
> I am using Sharepoint and Infopath. I want to get the Sharepoint User ID and
[quoted text clipped - 7 lines]
>
> Thank You in advance for any help or information.