Significance of dam:relativePath property | Adobe Higher Education
Skip to main content
Shridhar_Rao
December 7, 2017
解決済み

Significance of dam:relativePath property

  • December 7, 2017
  • 6 の返信
  • 2764 ビュー

I am trying to understand an issue related to dam:relativePath property.

What is the significance of dam:relativePath property, specifically with respect to the OOTB move operation of a dam asset?

What will be the impact, if dam:relativePath property is not updated/created, during the OOTB move operation of a dam asset?

I tried searching this, but couldn't find relevant answers.

Using AEM 6.2 version.

Regards,

Shridhar Rao

このトピックへの返信は締め切られました。
ベストアンサー smacdonald2008

This prop tracks the location of the Asset. Consider this asset:

I moved this asset to this location: /content/dam/we-retail/en/people/womens

Now notice that this value reflects the new path:

6 の返信

smacdonald2008
Level 10
December 7, 2017

This prop tracks the location of the Asset. Consider this asset:

I moved this asset to this location: /content/dam/we-retail/en/people/womens

Now notice that this value reflects the new path:

smacdonald2008
Level 10
December 7, 2017

As you saw - this prop is updated when you move the asset to another location.

Shridhar_Rao
Shridhar_Rao作成者
December 8, 2017

Thanks a lot for your reply. Just a few additional questions.

Is there any impact if this property is not set for some asset after it is moved? What is this property used for, other than just tracking the path of the asset?

smacdonald2008
Level 10
December 8, 2017

Each time i have moved an asset - I see this prop is automatically modified by the system. So there should not be a situation where this prop is not updated when an asset is moved. Does that make sense?

Shridhar_Rao
Shridhar_Rao作成者
December 8, 2017

Here is my actual problem:

Current behavior:

In current scenario, move operation fails to update the references of the asset because the service user used by AEM internally to perform move operation(reference-adjustment-service), does not have modify permissions on /etc/xyz

Solution:

By giving modify permission to "reference-adjustment-service" user at /etc/xyz, the move operation successfully updates all the references.

This solution works, except for the fact that the dam:relativePath property is not created on moving the asset.

smacdonald2008
Level 10
December 8, 2017

When you move as an admin - you see this prop updated right - but not as a user that has the correct permissions?