Hi, I want to know which properties should I be using to get the value from the resourceType : fileUpload
for e.g for textFields I am able to get values in my Sling model class by using annotation :
@ValueMapValue
private String {"name field of my node"}
I am not able to fetch by using "name " field of type fileUpload
Please anyone explain me how can I access it in my sling model , I need the path of the file uploaded
Thank you
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Can you please share the node structure, where the file is uploaded or content is authored.
please share component authored values from crx, this will help us to provide guidance.
Generally, the valuemap map the properties and values but if you have child node then you need to inject those as type/Resource etc.
Hi,
Can you please share the node structure, where the file is uploaded or content is authored.
please share component authored values from crx, this will help us to provide guidance.
Generally, the valuemap map the properties and values but if you have child node then you need to inject those as type/Resource etc.