User gets an error while publishing: Undefined variable '[//my:myFields/my:FieldName]'.
Make sure the field the error is received for is a Promoted Field. To do this, go to InfoPath -> File -> Advanced form options -> Property Promotion -> Add... button and add the mentioned field.
If error persists and if field was promoted before moving into a field sub-group, it should be moved back to ‘myfields’ which should resolve this error.
Please sign in to leave a comment.