Is it possible to self-host an Enterprise Site? I'm thinking of how I can use WAB Developer Edition to deploy a Web App in IIS at my own URL, and am wondering if I could do the same thing with Sites.
I suppose I can set up a simple HTML redirect at "https://<domain>/infrastructure" that points to the main app at "https://<domain>/arcgisportal/apps/sites/#/infrastructure", which we are pretty used to.
I tired noodling around with copying "ArcGIS\Portal\apps\sites" to a base URL at inetpub\wwwroot, but it looks like the check for the Portal Base URL is baked deep into the minified vendor code and can't be easily modified.
@NathanEnge wrote:
ExB Dev Edition does have some similar functionality as Enterprise Sites. Can much of your Sites be migrated to ExB. This would allow you to deploy on IIS
Thanks! I have no clue!
We are using Sites for a very basic landing page within our Portal to show targeted apps based on user Groups for Operations / Management. So most users are in Group A and can only see App A, about 25% of users are in Groups A&B and can see apps A&B, a small number of users are in Groups A, B, and C, and can see apps A, B, C. That is what we are working to achieve with Sites - which is pretty much OOTB behavior from what I can tell. I have not started with ExB.
Is that something ExB does?
You copied files -- where exactly is it storing them by default?
I've poked around and found so much but never looked for Sites files before.
I copied the entirety of the /apps/sites directory from the primary Portal installation directory on the web server to a new location under inetpub/wwwroot, confirmed it was registered in IIS, and then tried launching up sites, either as the admin / designer / or a site app. but it gave a bunch of errors about not being able to locate the Portal instance. Seems like that is hardcoded and not an intended use case.
I think you are stuck with putting a proxy in front of it and handling all the rewriting, probably not worth the effort.
I think I found what you are looking at in C:\Program Files\ArcGIS\Portal\apps\sites.
I was trying to find actual content, but I am thinking it's actually building pages on the fly, so there is really nothing to copy.
Yup, i think so too! thanks.
1/2 of what I do seems to be an "unintended use case".