Skip to main content

I have a process that uses the Smartobject create method to write file attachments to a Sharepoint library. Frequently users will not use a unique file name and it fails. Is there an easy way to just add a date/timestamp to the file name prior to it being written to SharePoint? Ive tried using rules in the Infopath form (yes an older version of Black Pearl) but it chokes on it.

 

Thanks

 

Dave

Hi drbrown

 

Where are you calling the Create method from - a workflow or the infopath form?

 

If it is a workflow you should be able to append the datetime, however you might need to use some functions to ensure you dont append after the file extension (e.g. .pdf)


Reply