Start a new topic

Looking for Examples for Powershell AutofillMappingX


I'm using the Powershell module to setup a document and I'm stuck on the format for the value for AutofillMappingX

I created an example in RoyalTS and looked at the connection file and got this value from the AutofilMappingX field, but putting that into the value for Powershell upsets RoyalTS.

 From example in connection file:



My Powershell snipet: 

$newConnection.AutoFillMappingx = $mapping

When viewing the autofill properties for the resulting connection


Invalid property identifier character: \. Path '', line 1, position 1.


I think I figured it out:


$newConnection.AutoFillMappingx = $mapping 


Hi Brian,

apologies for the situation. We currently have no "nice" API to create these mappings easier. I always suggest to create one of those in the UI and just use the resulting string in the scripts. It seems you have done the same. I hope we can provide a better API at some point but other things always get prioritized higher...

I'm sorry for the inconvenience!


Login or Signup to post a comment