Select to view content in your preferred language

Custom Symbology in Portal

3354
4
08-23-2016 11:09 AM
MuneerMajid
Occasional Contributor

I have a .styles file that I have been using in ArcGIS Desktop that now needs to go up as a default category to my organizations Portal for ArcGIS. I wasn't sure if there was a standard way described to do this, but I would like for my custom symbols to show up as part of this list below - 

I did find the below article useful, kind of, but it loses track when I am trying to publish the symbols as a new item to my portal and I realize that the type 'symbol-set' isn't available at all. 

How To: Configure Portal for ArcGIS with custom symbology 

All I could manage to do was publish the .png corresponding to one of my symbols as an Image File. 

I do find a lot of results of the type 'Style' on AGOL but cant really figure out how would i publish something similar and then eventually add it into my default list of symbols.

Any suggestions or help will really be appreciated, thanks !!!

0 Kudos
4 Replies
MuneerMajid
Occasional Contributor

BUMP !!!

0 Kudos
KarstenRank
Frequent Contributor

Hi,

you have to follow the instruction of the Technical Article. 

  • Create 2 Symbol Set
  • Upload png-files to webserver
  • edit json of the Symbol Sets

It works with Portal 10.7.

What is the recommended size of the pictures and the settings in the json file?

My uploaded images are very small.

Karsten

0 Kudos
JonathanBailey
Frequent Contributor

I'm also following this article, and have at least been able to get the symbol set to appear, but there are no contents in the symbol set:

I also noticed that, when I update the JSON of the symbol sets, the updated text is not preserved on one of them, and, on the other, I get an error indicating that the JSON is invalid (even though it's the exact same JSON that I used in the other one, and it validates just fine:

Unminified JSON:

[{
        "type""esriPMS",
        "url""https://cahssymbols.z9.web.core.windows.net/cahs.incident.airQuality.png",
        "imageData""iVBORw0KGgoAAAANSUhEUgAAABoAAAAmCAYAAADa8osYAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAABBpJREFUSIntl21InWUYx3+X7phpgZ2WR+tMbYWBzdqi02IRnjhRsDW3UxDoJipm5KcCk9IzXwjMMnqjIuiDSeSXWlFZ2wdbKcRGIY0oExn4so7YGeNAs4V5yqsPz/3Yc57OiyuKgq4v931d9/++f/f7cz+b+Ids0/+gvxWkqlcA9wE7AR/wCxAFJoG3RWT5L4FUNQ/oBdqBi9L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9I8Iu0e5mJt8X1pqjwhIs+nay/jpSoih1T1GNYb7eY0skmgS0TG0pRnBxnYp0BAVa/GeuSXYI0uBnwuIqeytbEhkAM4h7XT/pT9u/6P/lOg3wCAszXEjPotTwAAAABJRU5ErkJggg==",
        "contentType""image/png",
        "width"19,
        "height"28,
        "angle"0,
        "xoffset"0,
        "yoffset"0
    },
    {
        "type""esriPMS",
        "url""https://cahssymbols.z9.web.core.windows.net/cahs.incident.health.adverseReaction.png",
        "imageData""iVBORw0KGgoAAAANSUhEUgAAABoAAAAmCAYAAADa8osYAAAAAXNSR0IB2cksfwAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAelJREFUSInt1TGI01Acx/Hvv1a7XJdytp2uDg7igYJLNVOxQ+t0UlwdktmhUtxcispRHJzcDroWLUdAcJFrh4KFgkqc6k2Cgy0IgaRO2otDUqhem+Zqe9yQH2TJP+//ebzkvUQ5pURDaCWQ4ziPgOsr6n0gIvWZEJAHCiuCRsBcaG1ZBL0Hfi3Z+/Ak0I6I/FgS+itnZulCaCWQAJvAb8BcB7QBPAY04KJ37yvwEngBjP8bqlarCeA1cO2f0iXgOXAb2CHAXvOFGo3GPrAdi8VGqqq+KpfLhmVZ52u1WlbX9bvj8fhOLpd70263m1PDPonIh8CQYRj0+/3tSCRCq9XaUBRFm9SazSb1eh1N0+h2uwXbtgvxeHxSfgYEhzqdDgDZbBZFUY7VVVWlUqlgmia9Xo98Pj+vlT9k2zYAqVTKAY5mPZNOp8+ZpollWUeA492e+XHMhTKZDAC6rn8Tkcscf+GbwHcgWiqVbgDGvF6+ULFYRER+Oo6zBdSAytSsY8CeN/4Q+OyH+EKJRIJkMvl0OBzuAg+BW8Bb4AJwD7iCu0wPpiZwcghgMBjsiYgAT4Cb3jXJCHcTv1uELIS87AL7wH3gKu4R9BH3Nz0MggSFAL7gHkNL50ye3iEUQmuARKR4KtA6E0JL5w/1woNGtxAJawAAAABJRU5ErkJggg==",
        "contentType""image/png",
        "width"19,
        "height"28,
        "angle"0,
        "xoffset"0,
        "yoffset"0
    }
]
0 Kudos
KishorePotturi
Emerging Contributor

I am able to see custom symbols in portal and in turn can be used in maps but I can't  see default symbols. How can I see both custom symbology as well as ESRI default symbols.