Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Donna Beger 14 posts 133 karma points
    Apr 23, 2024 @ 21:42
    Donna Beger
    0

    Duplicate property aliases on different compositions

    v13.3 Cloud

    I have a composition called _Person Base that is used in 1 Data Type (Person) and a Document Type. Let's call it Presenter.

    The problem is that _Person Base has more fields than Presenter needs. I've been asked to remove the extra properties so Content Editors are not confused. The Person Data Type should remain the same.

    I don't want to lose content already entered.

    I created a new composition that duplicated the properties on the original _Person Base using the same alias names for the properties. From an initial test, it looks like entered data does not get lost for Presenters.

    I want to confirm that this is an ok practice. What should I look for? Am I setting myself up for trouble?

  • Marc Love (uSkinned.net) 447 posts 1789 karma points
    Apr 24, 2024 @ 14:12
    Marc Love (uSkinned.net)
    100

    Hi Donna,

    I have had this experience with compositions as well.

    As long as you remove the composition from a Document Type and before saving you add your properties back in with the same aliasName the data will not be lost behind the scenes.

    Obviously backup your database before testing this however I am 99.9% sure your data will not be lost.

    Cheers,

    Marc

Please Sign in or register to post replies

Write your reply to:

Draft