Enhanced Search Result: "Override 1"

4401
14
06-01-2016 06:23 AM
JamesCrandall
MVP Frequent Contributor

Search results added to the legend as operational layers correctly display the service name it originated from.  However, when sending to a print task (as a pdf or any other output type), it renames this to "Override 1" in the legend of the print.

Has anyone been able to at least modify this name to something specific?  Any suggestions on where to begin?

Thanks!

Tags (2)
0 Kudos
14 Replies
RobertScheitlin__GISP
MVP Emeritus

James,

  Unfortunately this has been an issue in the ArcGIS Server printing for some time now. I have never found a way to workaround this.

JamesCrandall
MVP Frequent Contributor

Thank you for the reply, Robert.  Is this something that ESRI support could address or is this an issue related to a custom widget?

Thanks again for all of your input!

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

James,

  I can't remember right now, but I think it has to do with all client side created graphics layers.

ChristopherJohnson1
Occasional Contributor II

Hi, Robert.  Do you know if there has been an update to this?

Thanks...Chris

RobertScheitlin__GISP
MVP Emeritus

None that I am aware of.

0 Kudos
ChristopherJohnson1
Occasional Contributor II

OK…thanks, Robert.

0 Kudos
AGOLGISAdmin1
New Contributor

I think for now there are only work-arounds, by making at least one of the symbols hollow, then it will print all the names.

Baba

0 Kudos
ChristopherJohnson1
Occasional Contributor II

OK...thanks.

0 Kudos
davetinkle
New Contributor III

what does "...making at least one of the symbols hollow" mean? Set opacity to 0?

Does *anyone* else have a work-around for this?

here's how I define my symbol:

  var sms = new SimpleMarkerSymbol({
   type: "simple-marker",
   color: new dojo.Color(typeColor),
   style: "square",
   size: 10,
   outline: {
    color : [ 0, 0, 0, 1 ],
    width : 1
   }
  });
  var r = {
   type: "simple",
   symbol: sms,
   label: typeDesc
  };
  var featureLayer = new FeatureLayer({
   fields: fields,
   objectIdField : "ObjectID",
   id: id,
   geometryType: "point",
   // source: graphic -- we add this later
   spatialReference: {
    wkid: 4326
   },
   popupTemplate: popupTemp,
   renderer: r,
   outFields: ["*"]
  });

0 Kudos