A community-supported open source mapping framework built with the Esri JavaScript API and the Dojo Toolkit - https://cmv.io/
dist
folder is no longer in the path.
@milenaAE If I am understanding your objective correctly the yes, I believe that would be quite possible. I think you'd need to start with a custom Print template and/or Print service on the AGS server that would accept the desired text. It may be possible to capture the info also within your service - not sure about that. If not, then on the client side you 'd possibly use a custom widget that would gather the data you want to include on the watermark, perhaps a variant of the CMV Print widget. To be more secure, you may want to capture the info using a server-side language like ASP.NET, PHP, etc. Perhaps your secured portal
already handles some of that.
Another possibly approach would be to create a service proxy that sits in front of the Print Service that captures the info that you require and passes it along to the service.
Probably quite a few other possible approaches but bottom line is it is possible.
@yogeshsharma505 Yes, The Arabic language and RTL are supported by the Esri JavaScript API:. The API documentation is here
The Esri map and widgets used in CMV like Scalebar, Measurements and Legend already include localization for Arabic and the other languages shown on that page. The widgets developed by the CMV team have been localized with community support to French, Spanish and Portuguese. These localizations are also included in the Locale
widget.
I would be happy to assist you or anyone with any efforts to translate CMV to Arabic or other languages. Let me know if I can help.
?locale=
to the url. Here is an example using Egyptian Arabic.
@yogeshsharma505 You can easily move the widgets to the right side of the page. Here's a copy of the demo site's viewer.js with a pane on the right side holding all the widgets.
The only changes are configuring a right pane while hiding the default left pane in panes section and then configuring each widget to be in the right
pane.
Hi!
I’m trying to use cmv's find.js to query related records. I wonder if you can give me some advices?
Basically, I’ve a rest MapServer serving a Feature Layer related to a Table Layer.
What I need to do is to find a feature in the Table Layer, return some fields into the grid columns and zoom to the correspondent element in the Feature Layer.
{
description: 'test',
url: 'http://myserver/arcgis/rest/services/test/MapServer/',
layerIds: [4],
relatedTableId: 14,
searchFields: ["relationships/0/serie"],
minChars: 2,
gridColumns: [
{ field: 'snno', label: 'snno', width: 100, sortable: false, resizable: false },
{ field: 'u_mcons', label: 'u_mcons' },
{ field: 'serie', label: 'Nr serie' }
],
sort: [
{
attribute: 'u_mcons',
descending: false
}
],
prompt: 'p.e. "123456"',
selectionMode: 'single'
}
Thanks in advance.
find
operation of a Map Service. I am fairly certain that does not support related records.