Save forms with unique ID in name of file

A

arekk82

Hello

I create 2 submit buttons with rules.
1 button have rules submit file to sharepoint library with name schema like
this:

How to create a name of XML file: xxxxyyyy.xml -
I must to save this file to shared folder.
Example:
xxxx - is a 4 stable digits, like 0911
yyyy - is a counter.
Occasionally I must to change globally start this, like 0052 or 1011.
(Normally i send files to SharePoint libraries, but when the system is
crashed I must to save this files locally)

Finally the file must be name like this: 09110052.XML, 09110053.XML etc...

I have collection of 40 forms in SharePoint library in WSS 3.0 and I must to
change this counter occasionally (when system is crashed)

Regards
Arek from Poland ;-)
 
S

Shiva (GGK Tech)

Hello,

You can use GetListItems web service connection to get the file name from
SharePoint. If you want to modify the global value to follow these steps,
1. Get the global value from secondary xml or from SharePoint list.
2. Gets the count or ID from SharePoint using GetListItems web service
connection.
3. Before submitting the new form you have to set the file name as (global
value + list item count).
4. Submit the form to SharePoint.
 

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