Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Significance of dam:relativePath property

Avatar

Avatar
Validate 1
Level 1
Shridhar_Rao
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Shridhar_Rao
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Shridhar_Rao
Level 1

07-12-2017

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

07-12-2017

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

DAM1.png

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

Now notice that this value reflects the new path:

DAM2.png

Answers (5)

Answers (5)

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

08-12-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?

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

07-12-2017

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

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

08-12-2017

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

Avatar

Avatar
Validate 1
Level 1
Shridhar_Rao
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Shridhar_Rao
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Shridhar_Rao
Level 1

08-12-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.

Avatar

Avatar
Validate 1
Level 1
Shridhar_Rao
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
Shridhar_Rao
Level 1

Like

1 like

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Shridhar_Rao
Level 1

08-12-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?