Select to view content in your preferred language

Custom Layouts Not Present in Application Builder

400
2
04-02-2013 08:57 AM
NicholasGross
Deactivated User
I cannot get my custom layouts to show up in the application builder. I've followed the steps in the help documentation and modified the Layouts.xml file (which I don't think is mentioned in the help, I had to find that on the forums) but nothing has worked. I've uninstalled and reinstalled the viewer and extensibility package a bunch of times but am getting nowhere. I've even gone into Builder/Templates/Default/Config/Layouts and just made a direct copy of one of the templates in there with a different name, added the entry to the xml file and it still didn't show up. I'm out of ideas.

This is my first run with the viewer application... so I don't know, maybe I'm working in the wrong directories or something, I can't figure it out.

I'm on a Windows 7 machine, version 3.1 of the viewer and extensibility SDK, Visual Web Developer 2010 Express (could not get the viewer template to show up in 2012), Expression Blend Preview for Silverlight 5. The Silverlight 5 toolkit is also installed.

Any help is greatly appreciated!
0 Kudos
2 Replies
KatherineDalton
Esri Regular Contributor
Hi Nicholas,

It sounds like you're headed in the right direction. Are you trying to add a custom layout to use with a new Viewer application or an Existing application? The trick is that there are two different places where the Layouts.xml file is used. The first location is in C:\inetpub\wwwroot\Builder\Templates\Default\Config\Layouts. The layouts in this folder are used anytime you create a NEW viewer application. If you want to add a custom layout to an existing Application, you'll need to navigate to C:\inetpub\wwwroot\Apps\<appname>\Config\Layouts and edit the Layouts.xml file there. And you don't need to uninstall/reinstall the Viewer or Extensibility for any of this to work. You might, though, need to clear your browser cache. Let me know how that goes for you.

Katy
Katy Dalton | Technical Consultant
THE SCIENCE OF WHERE™
0 Kudos
NicholasGross
Deactivated User
Clearing the cache fixed it.... probably should have been able to think of that on my own...

Thanks, Katy
0 Kudos