November Happy Hour will be moved to Thursday December 5th.

Allowing Installation of Addons from UI

Vote:
 

Hi there.

This question is similar to the one shown here: https://world.episerver.com/forum/developer-forum/Developer-to-developer/2015/3/enabling-add-on-install/.

I made the following edit to my web.config:

Web.Config

However, when loading the site, I get the following error:

error

This is the first time I am working with EPiServer or really any .NET web app to be honest. So forgive me if this is a very basic question.

Kind regards,

Dore

#231092
Nov 19, 2020 6:29
Vote:
 

Here's the full documentation for that feature: https://world.episerver.com/documentation/developer-guides/CMS/add-ons/Installing-add-ons/

Your specific error looks like it's missing the section declaration near the top of web.config within <configSections>.

Also, you might be missing a couple of other steps, like this one:

If installationMode was set to UI, run the cmdlet "Convert-EPiAddons" in the Package Manager Console. 

Start by following the steps in documentation first. I haven't done UI-based add-on installation in a long time, so not sure if something else was missed.

#231093
Nov 19, 2020 6:54
Vote:
 

Hi!

Thanks for your reply. Setting the installationMode to UI is the first step according to that documentation, which is why I could not go further with this issue. Also, I have not had any new addons installed since this is a fresh project so I don't think the Convert-EPiAddons thing applies to my situation.

I believe you're right in that the <configSections> section is missing something for episerver.packaging. Unfortunately, this is not detailed in the documentation and so I am not exactly sure what to put in the type field for the section. Could you please help me here?

what do I put in the type field?

#231097
Nov 19, 2020 7:26
Vote:
 

Hey so I managed to find a web.config from github that had what I needed (https://github.com/episerver/AlloyDemoKit/blob/master/src/AlloyDemoKit/Web.config)

<section name="episerver.packaging" type="EPiServer.Packaging.Configuration.EPiServerPackagingSection, EPiServer.Packaging" />

I have a new issue now though. The button still does not appear in the dashboard of options

addons button missing.

I've added the only user in the website to these groups:

admin groups

I had to manually create PackagingAdmins if that makes any difference.

Any ideas from here?

Kind regards,

Dore

#231098
Edited, Nov 19, 2020 7:52
* 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.