I am using the SaveToSharePoint and DeleteFromSharePoint commands and I love them!
However, our situation is that the files we are saving to the library from InfoPath will be edited frequently and by many people, so naturally, to ensure no one overwrites each other's changes, we want to enforce the check out feature.
- With the check out feature enforced, all files saved to the library, default to being checked out. Since the end user is saving them via Infopath, they do not see the library and can't see the document needs to be checked in.
- If check out is not enforced, then it is a good possibility that people will overwrite each other's changes
To get around the check out issue, I was hoping to make the file's URL in the form to be a link to the DispForm properties of that document. However, the only time I have used the DispForm, it was linked to the ID of the document and the SaveToSharePoint command does not give us the ID of the document in the library.
So I tried to link DispForm to the Name of the document like this: concat("http://serverName/IQR%20Files/Forms/DispForm.aspx?Name=", substring-after(@qRulesLink, "Files/")) but have found that DispForm doesn't appear to work using Name as the identifier.
- Do you know of any way to link DispForm successfully by using any of the information we retrieve from the SaveToSharePoint command?
- If not, is it possible at all to retreive the ID of the document that is saved in the library?
- If the answer is no to both the above, do you have any suggestions as a work around for this?
Thank you in advance!