How do I add image icon (jpg/png) to query results from an service layer within Web appbuilder developer edition

696
6
Jump to solution
11-18-2016 09:47 AM
AntoineBartholomew
New Contributor III

How do I add image icon (jpg/png) to query results from an service layer within Web appbuilder developer edition 

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Antoine,

   Sure that will just take a little manual configuration though (as there is no UI option for uploading your own image file, assuming you are talking point data results).

In your apps [install dir]/server/apps/[app#]/configs/Query/config_Query.json:

      "resultsSymbol": {
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "type": "esriPMS",
        "url": "http://static.arcgis.com/images/Symbols/Transportation/CarYellowFront.png",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAFyxJREFUeF7tWgd0VdW23Sm8IL0XKQmigPRqREQBFUR4AtKkCArSkQABBIICoRdpUhWkB4SEhIQSSOhJSCOkkJBCeiGVtJsOmX+um3tj8P3n9315+v74OWPMcco9Z9+95ppr7bX3OUpVbpUMVDJQyUAlA5UMVDJQyUAlAy+Egb+xlTqEKdGZ6EO8T3xM/J0YQPQkWhI1X8g//kWNGPF/2xGjiZWEDXGTCCPSiTziGYF/Avn9MeFD2BJriLFEB6LqX2TT7/pbMXoDEUgUVzSuVk0FM1OFN7orfPi+wtgRCtMmK8yfpWBlqbB4nsKMz8uuv99PoX07hbp1/oGgErYZSZwmphOtflev/qSbhvF/csToJo0Uhg5SWL1Mwe6wwr3rCikPFfITFfCEKCBKfwP8vSRdIT1KwfeWwulDCktJ0sABCo3ZdgViRSlCRrc/ycZ/+jev85fcmvTy4Z0KpdE0Lp8oJgqJXCKTyCBoGFJ5jw5yrIVc10NIytY9V8Q9dOBxUayC1yUF64UKHV8rJyOf/z/qryJBEpufeMWenkKpEXZGzMO5iI+RGNcYSOK1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M/LzbGmSVGOPM1sdgIl0nAtaNlxl1mZhdc4uihBb15kQq5wJwhhjsyMdoynAJcZqIoPx0pkU5cwbKE12lznNlQDUvGK/TupFDFuNzwTPb1IPHmH7a6QgMGPJavvLB+/Uat4VS/dps+bTp69XwDvcz7Y/YIKoDD3UkLIxyfZ1yOExbGEJwkbCyNcYEEiKEXmKX1Rp6ndB2YNO2ZJ84xX9gxb9gxhwjOEa77muLq7oY4zMpuOY0e2F2hYe3nvB3C/i0n5LO8f8u2SQgwf8OcCZA1LLc8TR4++nAIenXvhZ49e2NQ305YPbEujs2rAvslxjhHz5+mGsR4IeTYXJ4zLMRQrZFMkHqIkQ48d6Th57l3oNftOGIcZ0htn6swdxhXl7soNK33nNHZ7JMUbvJt4guR+m8x110IqGpSFSu/XcXRoAi2Z23RsX1HTqZ6oke37ujUsRvat+/Od3lmGNbLEBZDDLFrahkJ9iTDwYrep4edaPx5MZhG/ryKH2PRq7tZslpz/WH+KL5vZN0xsKdCd5bkLZjMKshbEptI/AIhibn5v8XVv9GolMycOL2GsWPG4q03e6Mrl526de7KfWe+remETq93QI0adcvnFVVZSLV92QCDuxnii4HERyyC3mNV+aZCnw78htCUn8vVJbF/e86z+uflA8wMwp3YTchrMMlHf9n2jl4Frbie0JHGdmrfAW1fawMzztUbc62xerVq+s7Llx2y+CKd18hz/wRSpcm98vrbjthGzCKGEl0IWcj9j9pW6w2pamICE0LWFn5l3H2eV/ygQT7HkapyJvEVMYWQjzHlPYUsWNb4j7Lwd3RmPO9xJeKJJOIeIV90yTqDGCUfYvy/2KrTyv/TX4L/v/BSpZGVDFQyUMlAJQOVDFQyoP4LHBEgi/j17B8AAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 18,
        "height": 18
      },

Just use standard symbology json.

Symbol Objects 

View solution in original post

6 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Antonie,

   Are you talking about the Query Widget or which widget? If you use the eSearch that is already possible.

https://community.esri.com/docs/DOC-1731-enhanced-search-widget-version-211-080116 

0 Kudos
AntoineBartholomew
New Contributor III

Hello Robert,

Thanks for getting back with me.  This question is not phrased properly... I am not exactly how to articulate what I want.  Basically, I am preforming a query on a service using "layerDefinition": {"definitionExpression": "xxxx = 1234"}

So for my query results, I want these to have a special icon.  I was looking into using the "drawingInfo" class to achieve this...

have you heard of anything like this?  Is it clear what I want to accomplish? 

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Antoine,

   The otb Query widget allows you to define custom symbology for the query results. Is there a reason that the Query widget will not meet your needs. Also there is the custom Local Layer widget that allows you to define the definition query and symbology.

AntoineBartholomew
New Contributor III

I tried the OTB query widget.  It looks like this may get the job done.  One question that I have is, can I incorporate my own custom icon into this widget? 

Thanks Robert

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Antoine,

   Sure that will just take a little manual configuration though (as there is no UI option for uploading your own image file, assuming you are talking point data results).

In your apps [install dir]/server/apps/[app#]/configs/Query/config_Query.json:

      "resultsSymbol": {
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "type": "esriPMS",
        "url": "http://static.arcgis.com/images/Symbols/Transportation/CarYellowFront.png",
        "imageData": "iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAFyxJREFUeF7tWgd0VdW23Sm8IL0XKQmigPRqREQBFUR4AtKkCArSkQABBIICoRdpUhWkB4SEhIQSSOhJSCOkkJBCeiGVtJsOmX+um3tj8P3n9315+v74OWPMcco9Z9+95ppr7bX3OUpVbpUMVDJQyUAlA5UMVDJQyUAlAy+Egb+xlTqEKdGZ6EO8T3xM/J0YQPQkWhI1X8g//kWNGPF/2xGjiZWEDXGTCCPSiTziGYF/Avn9MeFD2BJriLFEB6LqX2TT7/pbMXoDEUgUVzSuVk0FM1OFN7orfPi+wtgRCtMmK8yfpWBlq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PO9xJeKJJOIeIV90yTqDGCUfYvy/2KrTyv/TX4L/v/BSpZGVDFQyUMlAJQOVDFQyoP4LHBEgi/j17B8AAAAASUVORK5CYII=",
        "contentType": "image/png",
        "width": 18,
        "height": 18
      },

Just use standard symbology json.

Symbol Objects 

AntoineBartholomew
New Contributor III

I was able to add a custom image to my query results....

"layerDefinition": {

   "drawingInfo": {

      "renderer": {

      "type": "simple",

            "symbol": {}

            }

},

"definitionExperssion":  " " ,

},

0 Kudos