Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

CJA API create, modify or add dataview dimensions

Avatar

Level 1

Hi, I have two dataviews: a main one with created dimensions and a secondary one connected to the main dataview. I would like to be able to activate as dimensions in the secondary dataview those that are already active in the main one via CJA API. Is this possible?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@FernandoVe3 Shared metrics and dimensions let you manage common components in one place and use them across multiple data views within the same connection. Any updates made apply instantly to all linked views. However, they can’t be shared across different connections. 

How to do this - Look for the shared icon to spot them in a data view.

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

@FernandoVe3 Shared metrics and dimensions let you manage common components in one place and use them across multiple data views within the same connection. Any updates made apply instantly to all linked views. However, they can’t be shared across different connections. 

How to do this - Look for the shared icon to spot them in a data view.

Avatar

Level 1

Thank you very much, this is exactly what I was looking for. I'd also like to take this opportunity to tell you about a problem I've encountered. I imported a dimension by mistake, and now I can't delete it without affecting the dimension in the dataview from which I imported it. If I delete it, it disappears from the dataview components. How can I prevent that dimension from appearing in the shared metrics and dimensions panel without affecting the dataview?

Avatar

Community Advisor

@FernandoVe3  Unfortunately, there's no official “unshare” button yet. But you can mimic it:

  1. Open the Data View where the shared dimension was originally imported.
  2. Go to the Components section within that Data View setup and click Add dimension
  3. Use the same field mapping and settings as the shared one (same dataset field, same component type, etc.)
  4. Give it a new name (can be the same or different).
  5. Save the Data View.
  6. Now this dimension is local to this Data View only, and you can safely delete the shared version without affecting this one. The new dimension will only exist in that Data View, not in Shared Components.

Avatar

Level 1

Understood, thank you very much for your time and help. Best regards.