|
POST
|
Bill, I was not able to reproduce what you are seeing. Created a layer package from a note in ArcGIS Explorer 2500. Opened the package in ArcMap 10.2.1.3497 and Popup information is present. It is not truncated. Mark
... View more
09-24-2014
01:19 PM
|
0
|
5
|
1765
|
|
POST
|
just re-read, see that it is 10.2.1. I will research it...
... View more
09-24-2014
09:19 AM
|
1
|
0
|
3126
|
|
POST
|
Just repeating what you wrote. Create note. Share as Layer Package and Add the Package back into ArcGIS Explorer. Can you repeat the same? And re-confirm that you are using ArcGIS Explorer 2500 or 2505? Mark
... View more
09-24-2014
09:10 AM
|
0
|
10
|
3126
|
|
POST
|
Owain, In the HTML Layer properties, make sure you check "Download attachment data" Mark
... View more
09-23-2014
05:21 PM
|
0
|
0
|
2858
|
|
POST
|
Mari, This is very much a workaround.... You could create point notes and set them to an absolute height. Then use this Add-in Points to Line. http://www.arcgis.com/home/item.html?id=cbac8eb455364bbbaf931f75218c9b31 In the table of contents ctrl + click the Note points in the order you want to draw the line. Then use the Add-in and press the button on the ribbon. It will add a line note in the order the notes were clicked., "Connecting the Dots" the line will be drawn on the ground. Right Click on the line note in the table of contents, Click Properties and set it's placement to Absolute. The line will now connect the dots in 3D. Mark
... View more
09-23-2014
01:24 PM
|
2
|
3
|
1654
|
|
POST
|
Bill, The popup field in the layer package has a length of 262144 so it should be more than enough to hold the contents of the note. The note body only supports 32,608 typed characters. Using ArcGIS Explorer I create a note add 32,608 characters, create a layer package and the resulting file geodatabase contains a Popup field with all 32,608 characters, plus the style tags. I am not sure why your result is truncated. I even tried creating a KML out of the note and using KML to layer, and viewing that in ArcMap showed all of the information as well. I notice that your string is truncated at 255 characters. Are you exporting to a shapefile? if you are that would be the reason. Shapefiles have a field length limit. Mark
... View more
09-23-2014
12:52 PM
|
0
|
12
|
3126
|
|
POST
|
Bill, Yes you can, but it will require updating files in the install folder on each computer. In the Explorer (x86)\Styles folder, add your icon as a .PNG image to the SymbolImages folder. (Explorer uses 64x64 for image size, if you use larger images and lots of them, the gallery will be slower to load.) for Example I will add this image "happy.png" for use as a symbol. Save the image in the SymbolImages folder. In this case will put it in the "Health" folder. Now I am working with English language, so I will update the ExplorerSymbols.xml file to reference the image in the Symbolimages\Health folder.
<Symbol SymbolType="Marker" Name="happy" Category="Health" Id="happyMarker" Size="25">
<SymbolSource Type="Image" Location="Install" Path="SymbolImages\Health\happy.png" />
</Symbol>
The File contains information for each symbol. In the above example, I Named the Symbol happy and placed it in the Health category. You must give it a unique ID as well as updating the Path to the symbol. (Note: the path does not support using a URL) For the second part of your question. When an Explorer user creates a layer package from a note. The note title is put in a Title Field and the body of the note is put in a Popup field. When you open in ArcMap it is represented as: You users can use the Note Title to convey some information, and it is just a string in the field. In the body case, some style is included to account for HTML that may have been in the body of the note. In your case it is straight text. to make it a little easier to deal with, you could add a new field and calculate it equal to the popup field, and use some vbscript or python to strip out the style information. Here is an example using vbscript.
k = InStr( [Popup], "</style>" )
l = k + 7
totallength = Len( [Popup] )
bodycount = totallength - l
bodytext = Right( [Popup], bodycount )
Mark
... View more
09-22-2014
01:11 PM
|
1
|
15
|
3126
|
|
POST
|
It is the Table of Contents view that you are using. Push the far left button.
... View more
09-18-2014
02:13 PM
|
0
|
1
|
2380
|
|
POST
|
Andrew, Using 10.2.2 I did the following. In ArcMap using search I searched for the service that I am using with collector. observations owner:eko_nitro I click to add it to ArcMap. then Right click on "Group Layer" heading. Edit Features --> Create Local Copy for Editing Looking at the Source for the observations layer it is updated with a local path. and further verified by looking in Catalog. Can you do the same using this service? (its shared with everyone on ArcGIS online) also if it is a hosted feature service on ArcGIS online and you own it, you can export it from ArcGIS Online. Mark
... View more
09-18-2014
10:03 AM
|
0
|
3
|
2380
|
|
POST
|
Benedikt, Thanks for the feedback, I have shared your insight with those in charge of product direction and development. Mark
... View more
09-18-2014
09:22 AM
|
0
|
0
|
1676
|
|
POST
|
Johannes, Explorer for ArcGIS on Windows Desktop is a software project that is well underway and on schedule for release in 2015. There is no definitive release plan for Windows Phone. Collector for Windows Phone is being considered, but there are no definitive Collector App project timelines for Windows Phone at this time. Mark
... View more
09-17-2014
10:43 AM
|
1
|
3
|
1676
|
|
POST
|
This thread may provide a workable solution. Can't edit a arcgis online feature service in desktop 10.2.2 If you add the service to ArcMap and in the table of contents, right click on the layer "Edit Features" -> Create a Local Copy for Editing. It will create a local geodatabase with the attachments. That said I am currently testing the next release of ArcGIS - 10.3 and it worked for me doing this. Mark
... View more
09-17-2014
07:51 AM
|
0
|
6
|
2380
|
|
POST
|
Katherine, I gave it a quick shot, and I can't get it to show a photo I added either... however, I also can't find it when I am not signed into flickr at flickr itself. I set it public, it has a location not sure why it can't be found with Flickr search. Start by trying to find your photo at Flickr - Flickr Search Also, I notice if I can find the photo here Flickr: Explore everyone's photos on a Map I can find it in the public map as well. My picture doesn't appear to be find-able either. Mark
... View more
09-16-2014
09:44 PM
|
0
|
3
|
1950
|
|
POST
|
Yes, I put an example here http://www.arcgis.com/home/item.html?id=1a4d6680918b461e9effbff413536c22 There are two layers, One shows a pattern for linking to the local file, the other shows the picture in the popup. The example uses a picture named 'IMG_9822.JPG' The picture is located in the C:\Users\Public\Pictures folder on the computer. I loaded the default XSL Template (click the Load button) I then added this to the <xsl:template match = "Field"> section in the <xsl:choose> part. Link to picture
<xsl:choose>
<xsl:when test="FieldValue[contains(., '.JPG')]">
<a target="_blank">
<xsl:attribute name="href">file:///C:/Users/Public/Pictures/<xsl:value-of select="FieldValue"/>
</xsl:attribute>
<xsl:value-of select="FieldValue"/>
</a>
</xsl:when>
Show picture in popup
<xsl:choose>
<xsl:when test="FieldValue[contains(., '.JPG')]">
<img target="_blank">
<xsl:attribute name="src">file:///C:/Users/Public/Pictures/<xsl:value-of select="FieldValue"/></xsl:attribute>
<xsl:attribute name="width">450 </xsl:attribute>
</img>
</xsl:when>
Here is a copy of the whole template for the show picture in popup.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<xsl:variable name="ignoreFieldNames" select="'|OBJECTID|Shape|Shape_Length|Shape_Area|ATTACHMENTID|REL_OBJECTID|CONTENT_TYPE|ATT_NAME|DATA_SIZE|DATA|'"/>
<xsl:variable name="headerRowColor" select="'#9CBCE2'"/>
<xsl:variable name="alternateRowColor" select="'#D4E4F3'"/>
<xsl:template match="/">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
</head>
<body style="margin:0px 0px 0px 0px;overflow:auto;background:#FFFFFF;">
<table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-collapse:collapse;padding:3px 3px 3px 3px">
<tr style="text-align:center;font-weight:bold;background:{$headerRowColor}">
<td>
<xsl:value-of select="FieldsDoc/Title" />
</td>
</tr>
<xsl:apply-templates select="FieldsDoc/Attachments" />
<tr>
<td>
<table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-spacing:0px; padding:3px 3px 3px 3px">
<xsl:choose>
<xsl:when test="FieldsDoc/Fields/Field/FieldName">
<xsl:apply-templates select="FieldsDoc/Fields/Field/FieldName[not(contains($ignoreFieldNames, concat(concat('|', text()), '|')))]/.." />
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="FieldsDoc/Fields/Field" />
</xsl:otherwise>
</xsl:choose>
</table>
</td>
</tr>
</table>
</body>
</html>
</xsl:template>
<xsl:template match="Attachments">
<xsl:variable name="imageCount" select="count(Attachment/ContentType[contains(., 'image')])"/>
<xsl:variable name="attachmentCount" select="count(Attachment)"/>
<tr bgcolor="{$headerRowColor}">
<td>
<table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-spacing:0px; padding:3px 3px 3px 3px">
<xsl:variable name="imageSrc" select="Attachment/ContentType[contains(., 'image')]/../FilePath"/>
<xsl:if test="$imageSrc">
<tr align="center">
<td>
<a target="_blank" href="{$imageSrc}">
<img src="{$imageSrc}" width="275px" border="0"/>
</a>
</td>
</tr>
<tr align="center">
<td>
<xsl:value-of select="Attachment/ContentType[contains(., 'image')]/../Name" />
</td>
</tr>
</xsl:if>
<xsl:if test="($attachmentCount > $imageCount) or not($imageCount = 1)">
<tr align="center">
<td>
<table style="font-family:Arial,Verdana,Times;font-size:12px;text-align:left;width:100%;border-spacing:0px; padding:3px 3px 3px 3px">
<xsl:for-each select="Attachment[position() mod 2 = 1]">
<tr align="left" bgcolor="white">
<xsl:if test="(position() +1) mod 2">
<xsl:attribute name="bgcolor">
<xsl:value-of select="$alternateRowColor"/>
</xsl:attribute>
</xsl:if>
<td>
<a target="_blank">
<xsl:attribute name="href">
<xsl:value-of select="FilePath"/>
</xsl:attribute>
<xsl:value-of select="Name" />
</a>
</td>
<td>
<a target="_blank">
<xsl:attribute name="href">
<xsl:value-of select="following-sibling::Attachment/FilePath"/>
</xsl:attribute>
<xsl:value-of select="following-sibling::Attachment/Name" />
</a>
</td>
</tr>
</xsl:for-each>
</table>
</td>
</tr>
</xsl:if>
</table>
</td>
</tr>
</xsl:template>
<xsl:template match="Field">
<tr>
<xsl:if test="(position() +1) mod 2">
<xsl:attribute name="bgcolor">
<xsl:value-of select="$alternateRowColor"/>
</xsl:attribute>
</xsl:if>
<xsl:if test="FieldName">
<td>
<xsl:value-of select="FieldName"/>
</td>
</xsl:if>
<td>
<xsl:choose>
<xsl:when test="FieldValue[contains(., '.JPG')]">
<img target="_blank">
<xsl:attribute name="src">file:///C:/Users/Public/Pictures/<xsl:value-of select="FieldValue"/></xsl:attribute>
<xsl:attribute name="width">450 </xsl:attribute>
</img>
</xsl:when>
<xsl:when test="FieldValue[starts-with(., 'http:')]">
<a target="_blank">
<xsl:attribute name="href">
<xsl:value-of select="FieldValue"/>
</xsl:attribute>
<xsl:value-of select="FieldValue"/>
</a>
</xsl:when>
<xsl:when test="FieldValue[starts-with(., 'https:')]">
<a target="_blank">
<xsl:attribute name="href">
<xsl:value-of select="FieldValue"/>
</xsl:attribute>
<xsl:value-of select="FieldValue"/>
</a>
</xsl:when>
<xsl:when test="FieldValue[starts-with(., '\\')]">
<a target="_blank">
<xsl:attribute name="href">
<xsl:value-of select="FieldValue"/>
</xsl:attribute>
<xsl:value-of select="FieldValue"/>
</a>
</xsl:when>
<xsl:when test="FieldValue[starts-with(., '<img ')]">
<xsl:value-of select="FieldValue" disable-output-escaping="yes" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="FieldValue"/>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</xsl:template>
</xsl:stylesheet>
at line 117 you just need to set the path to the one that works for your case. Mark
... View more
09-16-2014
08:24 PM
|
0
|
0
|
2552
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 4 weeks ago | |
| 2 | a month ago | |
| 1 | 09-30-2024 01:06 PM | |
| 1 | 03-09-2026 01:14 PM | |
| 1 | 07-31-2025 05:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|