Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

UrlFromModuleFolder returns /EPiServer/CMS/Admin/

Vote:
 

Hello,

We're developing an EPiServer addon which will be installed via Visual Studio/nuget.

When creating a GuiPlugIn, UrlFromModuleFolder returns different results depending on if the module is public or protected.

The plugin is correctly placed in either /modules/MyModule/ or /modules/_protected/MyModule/

UrlFromModuleFolder = "Admin/Config.aspx"

EPiServerPublicModulePackage returns

/modules/MyModule/Admin/Config.aspx

EPiServerModulePackage returns

/EPiServer/CMS/Admin/Admin/Config.aspx

Because of this issue I'm forced to keep  the config public by setting the module as a public module.

Any ideas?

#197172
Sep 25, 2018 16:28
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.