pnpframework icon indicating copy to clipboard operation
pnpframework copied to clipboard

Provisioning Engine: ListId token does not contain the id of a created list when the rootsite contains a list with the same title

Open matsn0w opened this issue 3 years ago • 1 comments

Sort of re-opening this issue. Encountered this today.

I have a provisioning template with a {listid:MyList} token which often results in a wrong GUID.

Basically, within the same template, I am creating multiple lists with some fields.

  • List A with a date/time field X
  • List B with a lookup field Y pointing to field X in list A

When creating multiple subsites using this templates, the result of {listid:ListA} always returns the same value.

In List B:

<Field Type="Lookup" Name="y" DisplayName="Y" ID="{guid}" Required="TRUE" EnforceUniqueValues="FALSE" List="{listid:ListA}" ShowField="x" />

Am I missing something or is this still broken?

Thanks in advance for any help!

matsn0w avatar Oct 03 '22 13:10 matsn0w

This is still an issue. Any updates?

matsn0w avatar Aug 23 '23 17:08 matsn0w