Production list item protection

Highlighted
Certified Master Anaplanner

Re: Production list item protection

Also FINDITEM works fine with Production List as you search a correspondence of a text in a list (again, no reference to a specif list item).
Highlighted
Master Anaplanner/Community Boss

Re: Production list item protection

@a.dilieto ,

 

I think I understand why you are setting all lists for Production Data at creation (so no hardcoding or select statements can be used), but this can be very dangerous especially in a Deployed model.  If you remove the the production data boolean (making it a regular list) and then sync to production, then all data in the production environment tied to that list will be deleted.  The reason for this is during the sync, the list in Production will be wiped cleaned (deleted) and the members in Dev will be inserted.  Even if the the members with the exact same codes are used in Dev as well as in Production, the system doesn't understand that and simply wipes the list out.

 

So, instead of making every list a Production Data list, it is best to understand what the list will be used for (does it need to be updated in a Production environment) or is a static list (Active vs. InActive)?.  If the list will be updated via actions or user involvement, then it will need to be a Production Data list.  If it is static, it should be a regular list.

 

Hope this helps,

Rob

Highlighted
Master Anaplanner/Community Boss

Re: Production list item protection

Highlighted
Certified Master Anaplanner

Re: Production list item protection

Hi Rob,

Indeed, I was not clear but I meant setting to Production the lists that should be Production (not all).

Regards,
Antonio
Highlighted
Master Anaplanner/Community Boss

Re: Production list item protection

ethancomstock@gmail.com 

Just to clarify on  "Formula protection"

 

What is it?

  • Hard coded references to a list member
  • SELECT, IF ITEM(xx)=, P1 Product.Cars
  • Top Level Item is OK as that is structural (you cannot change the Top Level in a Deployed model)
  • You can have CODE(ITEM(P1 Products))=, or NAME(ITEM(P1 Products)) because that is not referring directly to a list element.  Still not good practice though!!

Why?

  • In standard mode, you will generate a rollback if you delete/amend the list member
  • Anaplan doesn’t not allow end users to generate a rollback
  • In Deployed mode, a "Production" list allows end users to delete/amend the list, so Anaplan “protects” the list against this

Good Practice

  • It is bad practice to have hard coded references

 

I hope that helps clarify things

David