This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
Hi ,
I am trying to create details page template of asset share commons in my maven project for that what i did is I copied details page template type from /conf/asset-share-commons/settings/wcm/template-types/details-page to my project(/conf/my-asset-share/settings/wcm/template-types/details-page)
Then I created Details Page template in my project for this template I added policies under structure then after I tried to add some components under Initial content when I try to add details components(asset share commons - details) its throwing errors like this
In logs I found this error
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Vani1012,
The issue is related to missing asset context. The same behavior can be seen on original Asset Details template that you get with Asset Share Commons. Asset context can be set adding path to asset as a suffix.
You can find more details in following thread/message:
Other thing that could be be worth to have a look is documentation about details page, to understand how it works:
From the error logs, it looks like there is a data-sly-call to a template/html file which is not present when you copied over. ( /title from the looks of it )
I would suggest you look into the html file for title, or paste the full error log trace, it would surely contain the exact line where the object is null.
Hi @Vani1012,
The issue is related to missing asset context. The same behavior can be seen on original Asset Details template that you get with Asset Share Commons. Asset context can be set adding path to asset as a suffix.
You can find more details in following thread/message:
Other thing that could be be worth to have a look is documentation about details page, to understand how it works:
Views
Likes
Replies