Select to view content in your preferred language

POP-UP 2.3.1

1215
16
05-20-2011 02:38 AM
DavidCaussin
Deactivated User
Hi,

I have customized the popup skin and all work fine.

Now i would like to have as in the AttRelateInfoWinWidget widget the possibility to use a URL is form of text.

For the popup have have see only the medialink possibility (Chart and image)

Is it possible? Perhaps i miss something.

David
Tags (2)
0 Kudos
16 Replies
NasifAlshaier
Deactivated User
Hi David..

I have a question for you.. I tried to custimize the new feature in 2.3.1 (popup),, however; when I click on the feature on the map, I get nothig..  here a piece of my cod ein config file..

        <operationallayers>
  <layer label="Daily Inspections" type="dynamic" visible="false" alpha="1"
                popupconfig="popups/PopUp_daily.xml"
                url="http://d777d/ArcGIS/rest/services/inspections/MapServer"/>
         <layer label="PW Telemetry" type="dynamic" visible="false" alpha="1"
                popupconfig="popups/PopUp_pump.xml"
               url="http://d777d/ArcGIS/rest/services/pwpumps/MapServer"/>

        </operationallayers>
and here the code for one of my pop file..

<?xml version="1.0" ?>
<configuration>
    <title>{A_InspectorName}</title>
    <fields>
        <field name="A_InspectorName" alias="Inspection Type" visible="true"/>
        <field name="InspectionType" alias="Inspection Type" visible="true"/>
    </fields>
    <showattachments>true</showattachments>
</configuration>


please advise if I am missing anything..
Thanks in advance

Nasif
0 Kudos
DavidCaussin
Deactivated User
Nasif,

here is the code of my config.xml

<layer label="Urbanisme - Stedenbouw" type="dynamic" visible="true"  alpha="0.8" name="PPAS"
         url="http://YourServer/ArcGIS/rest/services/Urbanisme/MapServer">
         <sublayer id="0" popupconfig="popups/ppas.xml" />
         <sublayer id="1" popupconfig="popups/lotissements.xml"/>
</layer>

Direct i dont see anything wrong. Perharps using "sublayers"..

Do you turn the visibility to "on" when you test?
0 Kudos
NasifAlshaier
Deactivated User
Hi..

Yes I tried the visible true and it did not work... I have not used the sublayer feature you are talking about... is it in Flex or ArcGIS server?

Thanks
0 Kudos
DavidCaussin
Deactivated User
When you go to your http://d777d/ArcGIS/rest/services/inspections/ you have the number of the sublayer
for me it is it begin to "0" to ...

try with

<layer label="Daily Inspections" type="dynamic" visible="false" alpha="1"
url="http://d777d/ArcGIS/rest/services/inspections/MapServer">
<sublayer id="0" popupconfig="popups/PopUp_daily.xml" />
</layer>
0 Kudos
NasifAlshaier
Deactivated User
sorry to bother you again..

I tried the code above a dn when I lunch the app I get

http response status: 200
fault code : client couldNotDecode
faultinfo: error#1090
fault details: null

thanks
0 Kudos
DavidCaussin
Deactivated User
if you enter this http://d777d/ArcGIS/rest/services/inspections/mapserver in your web browser what do you see?
0 Kudos
NasifAlshaier
Deactivated User
Hi..

if I enter the followinh in my browser:

http://d777d/ArcGIS/rest/services/inspections/MapServer


I get

inspections (MapServer)
View In:   ArcMap   ArcGIS Explorer   ArcGIS JavaScript   Google Earth   ArcGIS.com Map

View Footprint In:   Google Earth

Service Description:

Map Name: Layers

Legend

All Layers and Tables

Layers:


inspections.csv Events (0)
Tables:


Description:

Copyright Text:

Spatial Reference: 2236

Single Fused Map Cache: false

Intial Extent:

XMin: 692127.724270551
YMin: 410691.878125
XMax: 1063930.30334096
YMax: 588570.059375
Spatial Reference: 2236

Full Extent:

XMin: 827827.295233539
YMin: 418977.06875
XMax: 936605.300095679
YMax: 592749.43125
Spatial Reference: 2236

Units: esriFeet

Supported Image Format Types: PNG24,PNG,JPG,DIB,TIFF,EMF,PS,PDF,GIF,SVG,SVGZ,AI,BMP

Document Info:


Title:
Author:
Comments:
Subject:
Category:
Keywords:
Credits:
Supported Interfaces:   REST   SOAP

Supported Operations:   Export Map   Identify   Find   Generate KML
0 Kudos
DavidCaussin
Deactivated User
All Layers and Tables  

Layers:  


inspections.csv Events (0)  
Tables:  




What is it ??? Do you have SHP file in your MXD???
0 Kudos
NasifAlshaier
Deactivated User
David..
it is an even layer get generated from x,y file..
Data Type: XY Event Source

thanks
0 Kudos