Forum Discussion

Mosh's avatar
Icon for Professor rankProfessor
6 years ago

Changing Applies To Should Not Lose Any Data

We have Applies To expressions in our Data Sources that look for a matching property defined on a resource.  However, we just noticed that if we change the property name, update the DataSource's Applies To to match, it results in new Data Source objects on the resource.  If the names of the Data Source objects have not changed, and the name of the Data Source has not changed either, only the Applies To function has changed, then new DS objects should not be created.

1 Reply

Replies have been turned off for this discussion
  • I agree that LM is overly eager to throw away data in this situation as well as for DS updates.  In this case, it sounds like you could protect yourself by changing the Applies To expression in advance to be "old || new", then change the propertysource.  Unless I am missing something....