09-01-2020 02:11 AM - edited 09-01-2020 02:33 AM
Hello,
Our customer would like different stylesets for one feature in the legend.
Below the legend in the Desktop App is a dropdown menu for "Alternative Symbology" (similar to the Smart Client)
When I open the dropdown menu, only the predefined styleset appears.
How can I add alternative styles in the Desktop App?
In the Enterprise Studio, i can only select one styleset for the M.App.
Solved! Go to Solution.
09-01-2020 02:52 AM
Hi jlaegel,
What you are experiencing and describing here is the current design of this functionality in M.App Enterprise.
Each Desktop M.app can only have a single styleset applied to it.
There is/was a product idea proposed from the community in 2018 to consider allowing multiple stylesets/legends to be associated to a single M.App. This idea was declined and you can read the reasoning for that decision in the linked post.
In my opinion you have a good idea and a few years later now, this functionality could be reconsidered. If you like, you may comment on that existing post or submit a new product idea for this functionality.
HTH
sclow
09-01-2020 06:49 AM
Hello sclow,
Thank you for your reply.
I suspected that a optional styleset in the Mapp isn't possible.
I found a database side way to add an alternative Symbology.
Our Solution:
works in SQL-Server in the tenant's database.
An another alternative Symbology can be added with the following SQL command
Insert MAPP_APP_STYLESET
VALUES(newID(),'IDAPP','IDSTYLESET',0)
Replace IDAPP with the ID from Table "MAPP_APP"
Replace IDSTYLESET with the ID from Table "MAPP_STYLESET"
10-25-2020 11:51 PM
Hi @jlaegel
that's a nice way to solve your problem. But is your user able to change this via workflow?
As @sclow mentioned it could make sense to reconsider the old idea.
For example: Meanwhile there are some customers using the desktop app in night mode. For this reason Hexagon is going to deliver a nightmode within the next release. But how to switch the styleset from day- to nightmode? In my opinion it should be possible to change the styleset, so you must be able to add at least 2 stylesets per app.
@jlaegel f you don't want to, I could add this as an idea for the second time to discuss this again.
Thanks
Stefan
10-26-2020 12:20 AM - edited 10-26-2020 12:23 AM
Hi @s.rutka
For our purposes it was sufficient that another styleset can be selected in the Desktop-App from the dropdown "alternative symbology" below the legend.
Our user change it about the dropdown-menu.
10-26-2020 05:52 AM
Hi @jlaegel
thank you for your answer! We will try your workaround.
And: That's exactly what should be done without an insert in the database, but within ME Studio ;-)
Regards
Stefan
10-26-2020 06:02 AM
Works fine!