M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Occasional Contributor
Posts: 8
Registered: ‎04-11-2018
Accepted Solution

Desktop App: How can i define different stylesets?

[ Edited ]

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.

 

legend.jpg styleset.jpg

Technical Evangelist
Posts: 874
Registered: ‎11-12-2015

Re: Desktop App: How can i define different stylesets?

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

Occasional Contributor
Posts: 8
Registered: ‎04-11-2018

Re: Desktop App: How can i define different stylesets?

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"

 

 

Super Contributor
Posts: 349
Registered: ‎03-10-2016

Re: Desktop App: How can i define different stylesets?

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

GAUSS Ingenieurtechnik GmbH | Germany
Highlighted
Occasional Contributor
Posts: 8
Registered: ‎04-11-2018

Re: Desktop App: How can i define different stylesets?

[ Edited ]

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.

 

gdfdg.jpg

Super Contributor
Posts: 349
Registered: ‎03-10-2016

Re: Desktop App: How can i define different stylesets?

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

GAUSS Ingenieurtechnik GmbH | Germany
Super Contributor
Posts: 349
Registered: ‎03-10-2016

Re: Desktop App: How can i define different stylesets?

Works fine!

Stylesets.JPG

GAUSS Ingenieurtechnik GmbH | Germany