Developer forum

Forum » Swift » Product Group Field of type File Manager not saving full path to file

Product Group Field of type File Manager not saving full path to file

Pedro Meias
Pedro Meias
Reply

Hi

DW 9.16.4 - Swift v1.24.0

We have a Product group field of type File Manager - the goal is to select an image when editing a product group.

Product group field setup

After selecting the desired image the saved value is not showing the full path to the image file

We were expecting to see the full path - /Files/Images/Groups/image_975_4_5637243951.jpg

Otherwise, how can we get to the file in templates if we only have Groups/image_975_4_5637243951.jpg ?

Thank you.


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Pedro

You have to add /Files/Images/ in your template - the path will always be relative to that.

This has changed in DW10 where you will always get a full path. This behavior has a very long history and we have not been able to change it due to compatibility.

BR Nicolai

Votes for this answer: 1
 
Pedro Meias
Pedro Meias
Reply

Thank you Nicolai

 

You must be logged in to post in the forum