Hi,
I created a Folder field in my Item Type because I needed to retrieve the path to a certain folder.
However, I can't seem to get the path from the item type.
Pageview.AreaSettings.GetItem("Custom").GetItem("CustomSettings").GetString("PathToSamplePages");
I tried with GetString() and GetValue() but that returned:
"System.Collections.Generic.List`1[Dynamicweb.Frontend.FileViewModel]"
If I use GetFile(), I get closer, but instead of giving me the path to the folder, it returns the path to the first file in the folder.
Is there anyway that I'm not seeing to get the path to the folder?
Thank you