Select to view content in your preferred language

Added tools don???t appear after leaving the application builder,

10015
12
06-06-2013 04:11 AM
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

Added tools don�??t appear after leaving the application builder,

This is the second time I�??m highlighting this very challenging problem

I have added two tools to the web mapping application and they worked fine and the web application is saved properly, nevertheless, these two tools don�??t appear on the web application

[ATTACH=CONFIG]25050[/ATTACH], [ATTACH=CONFIG]25051[/ATTACH], [ATTACH=CONFIG]25052[/ATTACH]


One of these tools is the �??Query layer�?� and the other one is a published geoprocessing tool. What is important is that both of these tools work and saved properly before leaving the environment of �??application builder�?�

[ATTACH=CONFIG]25053[/ATTACH], [ATTACH=CONFIG]25054[/ATTACH]

What might be the issue here?


Thank you

Best

Jamal
0 Kudos
12 Replies
Hector_Manuel_MartÃ_Â_nez_Luz
Deactivated User
Hey Jamal, maybe there is some permission problem. Try to open the explorer as an administrator.
If not,
-check in the application folder if the addIns appear, for example C:\inetpub\wwwroot\Apps\SIT\Extensions.
-check if the tools appear in the Tools.xml file, for example C:\inetpub\wwwroot\Apps\SIT\Config\Tools.xml.
Let me know the result.

Hope it helps.
Regards, Manuel
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

Hey Jamal, maybe there is some permission problem. Try to open the explorer as an administrator.
If not,
-check in the application folder if the addIns appear, for example C:\inetpub\wwwroot\Apps\SIT\Extensions.
-check if the tools appear in the Tools.xml file, for example C:\inetpub\wwwroot\Apps\SIT\Config\Tools.xml.
Let me know the result.

Hope it helps.
Regards, Manuel


Thank you very much Manuel for the help.

1. I couldn�??t run the ArcGIS Viewer Silverlight as administrator. The option sounds to be deemed

[ATTACH=CONFIG]25130[/ATTACH], [ATTACH=CONFIG]25131[/ATTACH], [ATTACH=CONFIG]25132[/ATTACH]

2. Yes. The �??QueryTool.AddIns.xap�?� is there in the extension folder

[ATTACH=CONFIG]25133[/ATTACH]

3. No. the �??QueryTool.AddIns.xap�?� is not on the Tools.xml

[ATTACH=CONFIG]25134[/ATTACH]

What might this indicate for?
0 Kudos
Hector_Manuel_MartÃ_Â_nez_Luz
Deactivated User
Jamal try to open the explorer as an administrator an then write the url to the builder, http://localhost/builder.
It has to appear in the Tools.xml to appear in the app.

Can you post here the addIns so I can try and see what happens.

Regards, Manuel.
0 Kudos
JamalNUMAN
Legendary Contributor
Jamal try to open the explorer as an administrator an then write the url to the builder, http://localhost/builder.
It has to appear in the Tools.xml to appear in the app.

Can you post here the addIns so I can try and see what happens.

Regards, Manuel.


Thank you very much for the help Manuel,

The Add-in that I�??m trying to plug can be downloaded from the link below
http://www.arcgis.com/home/item.html?id=451259f8e47440f2b727442fe1b2f7c2

Sample data is attached

I started the Silverlight builder as administrator but sounds not to store the add-ins that I have added and saved

[ATTACH=CONFIG]25179[/ATTACH], [ATTACH=CONFIG]25180[/ATTACH], [ATTACH=CONFIG]25181[/ATTACH], [ATTACH=CONFIG]25182[/ATTACH]


What surprises me the most is that it works fine in the building environment and saved correctly but doesn�??t appear after that!


What might be the issue?
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
Hector_Manuel_MartÃ_Â_nez_Luz
Deactivated User
Hi Jamal, I finally test with the QueryTool and It work fine for me.

Now, you tell me that it not appear in the Tools.xml file of the application folder and that suggest to me that its some permission problem.

Lets try to do some manual check with the coordinates tool.
1) [One last check] Load the coordinates tool jamaltool and try it again.
2) [Manuel steps] If it not work, check that the addIn is in the extensions folder, if it not paste it there. Then open the Tools.xml of the application and inside the <Tools>...</Tools> paste the red code behind. This should work and if work I can only think that it is a permission problem, now if you have a problem when trying to alter the Tools.xml that is another fact that confirm the problem.

You have some system administrator where you work?, are you the administrator of the machine?.

Sorry for ask you to do the test, It just I don't know another way of help you.

Regards, Manuel

<ToolPanels xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:extensibility="clr-namespace:ESRI.ArcGIS.Client.Extensibility;assembly=ESRI.ArcGIS.Client.Extensibility" xmlns:esri="http://schemas.esri.com/arcgis/mapping/2009" xmlns:SearchTool="clr-namespace:SearchTool;assembly=SearchTool.AddIns" xmlns:PrintTool_AddIns="clr-namespace:PrintTool.AddIns;assembly=PrintTool.AddIns">
<ToolPanel ContainerName="MainToolbarContainer" Name="Main Toolbar" Orientation="Vertical">
<Tools>
...
<Tool Label="Coordinates" Icon="/CoordJamal.Addins;component/Images/i_coord.png">
<Tool.Class>
<CoordTool xmlns="clr-namespace:CoordJamal.AddIns;assembly=CoordJamal.AddIns" />
</Tool.Class>
<Tool.ConfigData>
<Root>
<WindowPosition>
<HorizontalAlignment>Center</HorizontalAlignment>
<VerticalAlignment>Bottom</VerticalAlignment>
<HorizontalOffset>0</HorizontalOffset>
<VerticalOffset>0</VerticalOffset>
</WindowPosition>
</Root>
</Tool.ConfigData>
</Tool>
...
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

Hi Jamal, I finally test with the QueryTool and It work fine for me. 

Now, you tell me that it not appear in the Tools.xml file of the application folder and that suggest to me that its some permission problem. 

Lets try to do some manual check with the coordinates tool. 
1) [One last check] Load the coordinates tool jamaltool and try it again. 
2) [Manuel steps] If it not work, check that the addIn is in the extensions folder, if it not paste it there. Then open the Tools.xml of the application and inside the <Tools>...</Tools> paste the red code behind. This should work and if work I can only think that it is a permission problem, now if you have a problem when trying to alter the Tools.xml that is another fact that confirm the problem. 

You have some system administrator where you work?, are you the administrator of the machine?. 

Sorry for ask you to do the test, It just I don't know another way of help you. 

Regards, Manuel 

<ToolPanels xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:extensibility="clr-namespace:ESRI.ArcGIS.Client.Extensibility;assembly=ESRI.ArcGIS.Client.Extensibility" xmlns:esri="http://schemas.esri.com/arcgis/mapping/2009" xmlns:SearchTool="clr-namespace:SearchTool;assembly=SearchTool.AddIns" xmlns:PrintTool_AddIns="clr-namespace:PrintTool.AddIns;assembly=PrintTool.AddIns"> 
<ToolPanel ContainerName="MainToolbarContainer" Name="Main Toolbar" Orientation="Vertical"> 
<Tools> 
... 
   <Tool Label="Coordinates" Icon="/CoordJamal.Addins;component/Images/i_coord.png">
<Tool.Class>
<CoordTool xmlns="clr-namespace:CoordJamal.AddIns;assembly=CoordJamal.AddIns" />
</Tool.Class>
<Tool.ConfigData>
<Root>
<WindowPosition>
<HorizontalAlignment>Center</HorizontalAlignment>
<VerticalAlignment>Bottom</VerticalAlignment>
<HorizontalOffset>0</HorizontalOffset>
<VerticalOffset>0</VerticalOffset>
</WindowPosition>
</Root>
</Tool.ConfigData>
</Tool>

...


Many thanks Manuel for the massive help,


I can confirm the following

1. I have full administration on my machine (the user name is â??Jamalâ?� and he is an administrator). Is this what is meant by full administration?

[ATTACH=CONFIG]25242[/ATTACH]


2. The â??CoordJamal.addinsâ?� works fine

[ATTACH=CONFIG]25243[/ATTACH]


3. The â??QueryTool.Addins works fine in the building environment but disappears as the application started.

[ATTACH=CONFIG]25244[/ATTACH], [ATTACH=CONFIG]25245[/ATTACH]


4. The â??find coordinateâ?� python script tool has the same issue! works fine in the building environment but disappears as the application started.

[ATTACH=CONFIG]25246[/ATTACH]

By the way,

1. I have tried it in different machines
2. I have formatted a machine and tried it
3. I have repeated is again and again

But never works!

What other issues should I consider?
0 Kudos
Hector_Manuel_MartÃ_Â_nez_Luz
Deactivated User
OK permission issues discarded.

That is so weird .. Mmm I really don't know what else could be.

1 - Try to remove and add it again the query tool and check the changes in the Tools.xml file. Check even the modified date.
2 - Try to change the position in the coordtool and before save remove and add it again the query tool, then save and check the changes in the Tools.xml file. Check again the modified date.

It so weird that only changes things from some tools. Can you post here the Tools.xml files of the test.

Regards, Manuel
0 Kudos
by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

OK permission issues discarded.

That is so weird .. Mmm I really don't know what else could be.

1 - Try to remove and add it again the query tool and check the changes in the Tools.xml file. Check even the modified date.
2 - Try to change the position in the coordtool and before save remove and add it again the query tool, then save and check the changes in the Tools.xml file. Check again the modified date.

It so weird that only changes things from some tools. Can you post here the Tools.xml files of the test.

Regards, Manuel


Many thanks for the prompt help,

The tool.xml is attached.

Best

Jamal
0 Kudos
Hector_Manuel_MartÃ_Â_nez_Luz
Deactivated User
OK the Tools.xml is fine, its so weird that the QueryTool do not appear.

The last thing that occurs me to detect the problem is:

- Only add one tool at the time, remove every tool except for the basemap and the contents and add only QueryTool, to check that is the QueryTool problem

- Replace the Tools.xml with the one I attach or just the QueryTool part and add to the one you have, to check that is not related with service problems. The one I attached is done with an ESRI service I try it and works

- Try QueryTool with different services, to check that is not related with service problems

See what happens and tell me. Hope it help, don't know what else to try.

Regards, Manuel
0 Kudos