Ms-rewrite or ms-data?

Documentation (and testing) suggests that ms-data is the correct attribute to use when replacing site contents with user data, including hyperlinks and text content.

However, the documentation on this page suggests an attribute of ms-rewrite.

Are both still valid? If so, what are the use cases that differentiate the two?

1 Like

Hi Alex! Great question.

You can use ms-rewrite=“Your new text here.” To change text for ALL active members. This is sometimes useful for making marketing pages more user friendly once a member is logged in.

ms-data lets you replace text with a specific piece of user data like their individual email or name.

1 Like