So the different libraries would be set up to open forms in the browser, and to use the published, admin approved content type? You'll use ChangeSubmitUrl to get the Url the form should submit to from the library it is opened from? Then all you'd need to do is find a way to update the List Id for the list you've mapped your SubmitToSharePoint list command to, is that correct?
I'm sorry that I'm struggling to understand exactly what you are trying to do. If I've outlined it correctly above, you may want to consider having a SharePoint list that has two columns -- one for the List GUID for SubmitToSharePointList, and the other the URL of the form library the form will be submitting to. Prior to having your template admin approved, you could add another data connection to that SharePoint list, then do something like:
-
Run the ChangeSubmitUrl command both to set the submit Url and to get the submit Url from the qRules Result node
-
Use that submit Url to get the correct List GUID for your SubmitToSharePointList command from the data connection to the new SharePoint list
-
Set the List Id field in the mapping.xml to the new GUID
A possible issue with this approach would be if your SharePoint lists you are using the SubmitToSharePointList command with do not have the same column names as your original mapping.
To my knowledge, if you make any changes to an admin approved template, it has to be republished and admin approved again. That's why I was trying to think of a way for you to do this without template changes.