Considerations for Collaboration

If you develop a site with code for someone else that you can both edit, you need to understand the limitations of what you or the other user can do with the site and its elements. Keep in mind, for example, the other user might be a designer with no coding experience.

When you duplicate a page or site, or when you clone or transfer a site, the code and events are copied to the new version but remain unchanged in the original.

  • When you copy and paste an element that's connected to a dataset, the new element maintains the connection settings from the element it was copied from.
  • When you move an element from one page to another, the element won't work as expected since the associated code is on the original page and isn't moved to the new page.
  • If an element is connected to a dataset, and both are set to show on only one page, setting the element to Show on All Pages, breaks the connection to the dataset.
  • In the editor, if a collaborator tries to delete elements referenced by code, a confirmation prompt displays. The prompt helps prevent accidental deletions that can impact your code. The prompt displays for:
    • Elements directly referenced by code. A code icon displays for these elements as an indicator.
    • Parent elements whose nested elements are referenced by code.
  • When you copy and paste an element that has (deprecated) event handlers associated with it, the new element won't work as expected since the event wiring and code isn't copied.

See also

Did this help?