Select to view content in your preferred language

Can't view my applications to edit

601
4
10-15-2012 03:59 PM
TomSedlacek
Regular Contributor
Hi smart folks,

I'm having to go back and edit some applications that I built a couple of months ago.  Unfortunately, They are not showing up in "Current Viewer Applications" pane or My Maps.  The weird thing is, I can see them in my wwwroot\Apps folder.

Any Ideas?

Thanks!

Tom
0 Kudos
4 Replies
BrianLeroux
Frequent Contributor
You should have an xml file called sites.xml in the C:\inetpub\wwwroot\Builder\App_Data directory. That should show you all of the sites you see in your builder application. Below is a sample of what the contents of that file should look like. I have never tried it but you may be able add a site to the list. You would have to expiriment with the ID to what you can get away with there. Hopefully it works for you.

<?xml version="1.0" encoding="utf-8"?>
<Sites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Site>
    <ID>5d2c60425257476d9e352fafc1e31bd0</ID>
    <Name>Demo Map</Name>
    <Url>http://RI130WS122:80/Apps/DemoMap</Url>
    <PhysicalPath>c:\inetpub\wwwroot\Apps\DemoMap</PhysicalPath>
    <IsHostedOnIIS>true</IsHostedOnIIS>
    <IISHost xsi:nil="true" />
    <IISPort>80</IISPort>
    <IISPath xsi:nil="true" />
    <Description />
  </Site>
  </Sites>
0 Kudos
KatherineDalton
Esri Regular Contributor
Tom,

Brian is correct that you will need to update your Sites.xml file. For the ID, you just need a GUID (no hyphens), so you can use any GUID-generating tool. http://www.guidgen.com/ should work.

Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
CharlieTeff
New Contributor
I am having the same problem as Tom.  Is there a reason that my applications don't automatically write to the Sites.xml file?

Thanks.

Charlie
0 Kudos
KatherineDalton
Esri Regular Contributor
Any apps you are currently creating should automatically be written to the Sites.xml file. With the release of Version 3.0, we built in a way to upgrade each of your current applications, which should have re-written them to the new Sites.xml file. If something happened during the upgrade or install, this could be why certain apps are not included in Sites.xml.

Hope that helps,
Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos