Select to view content in your preferred language

FV 3.1 automatic map attribution data

1684
17
Jump to solution
01-10-2013 04:18 PM
RhettZufelt
MVP Notable Contributor
Was noticing this new feature of the FV.

???Automatic map attribution displays the map copyrights at the bottom of the map. If it is long, it will end with "..." and can be clicked to see the full attribution (copyrights).

I like the info showing, but it is appending information onto the descriptions I have in the service.  It is appending our company name and a pipe (|) in front of the actual text from the credits box regardless of where the data comes from.

Wondering where it is getting this extra information from so that I can remove it, otherwise, it tries to give us credit for "any" basemaps.

R_
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RhettZufelt
MVP Notable Contributor
Ok, I figured out where it is coming from.  (layer.copyright)

I installed the copyright widget and, with operational layers=true,  I get the same thing.  So, it was finding the copyright text of one of the operational layers in the map and appending it to all the other credits that I have on the basemaps.

So far, I don't see a way to turn off the operational layers of the auto attributes, so I either need to go remove/delete all copyright info from all my operational layers OR set to false and go back to the copyright widget with includeoperationallayers=true.

R_

View solution in original post

0 Kudos
17 Replies
RobertScheitlin__GISP
MVP Emeritus
Rhett,

   There is nothing exposed about Attribution in the API (that I can find) so I would look at your operational layers and see which one has strings that match what you are not wanting to see.
0 Kudos
HeatherGonzago
Esri Contributor
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Heather,

   Thanks, I worded that responce wrong... I did find the ability to turn attribution on and off as in the link you provided. I did not find anything about where it gets the strings from to use in the attribution.
0 Kudos
RhettZufelt
MVP Notable Contributor
I have searched high and low for the string that is being appended to the credits, and can't seem to locate it anywhere on my filesystem, or server.  The only place I can find the text that is being appended is that it is the title of my Flexviewer app.  However, if I change the title of my app, it does NOT change the text being appended to the credits.

Still have no clue where it is getting our company name and appending it on there, but I like the utility of the attribution, just not the appending.
Also, it is the text that show as the attributions if you do NOT have any credits in your service (IE, you always get something when attributionvisible="true", where does it get this?)

Guess if I can't figure it out, back to the copyright widget, though I hate using widgets for something that is built into the API.

R_

Also, where would one modify the font of the attributes to be similar to the copyright widget?  That one puts a white halo around black text, the autoatributes buts gray text with no halo, and it easily gets washed out when there is any imagery in the background.
0 Kudos
GISDev1
Deactivated User
I have searched high and low for the string that is being appended to the credits, and can't seem to locate it anywhere on my filesystem, or server.  The only place I can find the text that is being appended is that it is the title of my Flexviewer app.  However, if I change the title of my app, it does NOT change the text being appended to the credits.

Still have no clue where it is getting our company name and appending it on there, but I like the utility of the attribution, just not the appending.
Also, it is the text that show as the attributions if you do NOT have any credits in your service (IE, you always get something when attributionvisible="true", where does it get this?)

Guess if I can't figure it out, back to the copyright widget, though I hate using widgets for something that is built into the API.

R_

Also, where would one modify the font of the attributes to be similar to the copyright widget?  That one puts a white halo around black text, the autoatributes buts gray text with no halo, and it easily gets washed out when there is any imagery in the background.



Have you checked in all of the REST properties, as well as each layer properties in your mxd's, each data frame properties in each mxd, and each mxd properties as well? Or maybe in the metadata of any layer?
0 Kudos
RhettZufelt
MVP Notable Contributor
I have searched high and low.

The only place I can find the text being appended is on the sign on the front of my building and company letterhead 🙂

I even created a new FGDB, with new polygon FC inside it and no data (so it is blank).  then open ArcMap and add, save as new file, and publish as new service.
No metadata, no description, to credits, no properties, NOTHING.  yet, it still puts the company name at the bottom when I choose that service.


R_
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Rhett,

Also, where would one modify the font of the attributes to be similar to  the copyright widget?  That one puts a white halo around black text,  the autoatributes buts gray text with no halo, and it easily gets washed  out when there is any imagery in the background.      


The text is actually black but it's alpha makes it look gray. Anyway you have to work with the AttributionSkin.mxml from the API
0 Kudos
RhettZufelt
MVP Notable Contributor
Ok, I figured out where it is coming from.  (layer.copyright)

I installed the copyright widget and, with operational layers=true,  I get the same thing.  So, it was finding the copyright text of one of the operational layers in the map and appending it to all the other credits that I have on the basemaps.

So far, I don't see a way to turn off the operational layers of the auto attributes, so I either need to go remove/delete all copyright info from all my operational layers OR set to false and go back to the copyright widget with includeoperationallayers=true.

R_
0 Kudos
RhettZufelt
MVP Notable Contributor
Thanks Robert,

If I ever get it working as needed, I will look into that.

For now, I have decided to go with the working, and configurable CopyRightWidget.

Thanks again,

R_
0 Kudos