powerplatform-build-tools
powerplatform-build-tools copied to clipboard
pac powerpages download doesn't include null values so upload doesn't clear removed attributes
Title says it all,
- When you do a download where a field has been cleared, the yml file does not contain the attribute at all. (should be there but null) e.g. multi step form steps previous step field
- When you then go to upload to the next environment the value doesn't get cleared
Interestingly, have you tried setting only a space to check if the attribute is still in the file?
They are definitely not in the file, I just recently experienced this with clearing the value for the tab on a basic form as well (it was becoming a multi step basic form through load tabs as steps so needed to the tab attribute cleared). My two examples are both drop downs going from a value to none, not a string field.
This is still a known issue. Current workaround is to add the key and the default value in the YAML files to 'clear' the earlier set value.