Select to view content in your preferred language

add wigdet to portal 10.5.1

786
5
12-12-2018 08:11 AM
Maria_ElenaPezoa
Esri Contributor

Hi,

I'm trying to register a widget in the portal but it gives me an error.

Can you help me with this?

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus

Maria,

  Portal 10.5.1 uses WAB 2.4 so you need to register the 2.4 version of the eLocate widget on the 2.9.x version.

0 Kudos
Maria_ElenaPezoa
Esri Contributor

uf! ...Robert, thanks a lot!!!, I´ll do that you tell me.

0 Kudos
Maria_ElenaPezoa
Esri Contributor

... I changed the version and I could read the widget without problems,....  however I can not or will not let me add it to my template ......
Why does this happen if everything up to this point worked ok?

thanks in advance...

0 Kudos
Maria_ElenaPezoa
Esri Contributor

... I changed the version and I could read the widget without problems,....  however I can not or will not let me add it to my template ......
Why does this happen if everything up to this point worked ok?

thanks in advance...

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Maria,

  Looking back at some old post on this widgets main download page I see that other trying to use this widget in Portal 10.5.1 had this issue:

I had to copy ServiceBrowserRule.js and serverBrowserRuleUtils.js from "<WAB Dev Edition>\client\stemapp\jimu.js" to "C:\Program Files\ArcGIS\Portal\apps\webappbuilder\stemapp\jimu.js" and "..Portal\apps\webappviewer\jimu.js\" to get this widget to work in Portal 10.5.1.