Developer forum

Forum » Development » Dynamic default image path in file selector [ItemTypes]

Dynamic default image path in file selector [ItemTypes]

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have a situation where I could use a dynamic approach for the default Image location on the File selector.

I was wondering if this would be possible. Either with some notification or by using CodeFirst ItemTypes.

My need is to control the default location based on the name of the page (or any other property of the page).

For example, if I have a page named LAPNHQ7YEX00B (don't ask me why) I would like by default to open all File selector controls of all columns on this page to "/Files/Images/L/A"

Is this possible?

Thank you,
Adrian 


Replies

 
Nicolai Pedersen
Reply

That is not possible. But the file selector is an add-in it self so you can make your own version that can do it.

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Thank you for the suggestion. I have not thought of that. That may actually work.

Thank you,
Adrian

 

You must be logged in to post in the forum