Hi guys,
I was wondering if I can use the API to access some settings of the FilePublisher module.
Mainly, I am interested in "Folder" property.
Thank you,
Adrian
Hi guys,
I was wondering if I can use the API to access some settings of the FilePublisher module.
Mainly, I am interested in "Folder" property.
Thank you,
Adrian
If you are in the context of the current paragraph being rendered, i.e. in a Razor file within the module, you can do like this:
var folder = Pageview.CurrentParagraph.ModuleProperties.Value["FilepublishFolder"]
Or you can call the paragraph service, GetById and access Paragraph.ModuleProperties.Value["FilepublishFolder"]
BR Nicolai
Hi Nicolai,
Thank you very much.
It is exactly what I needed.
Adrian
You must be logged in to post in the forum