Hexagon Geospatial
MENU

Smart M.App

Looking for answers in regards to M.Apps, M.App Exchange or M.App Studio? Smart M.App Tech Discussion board is where you can search, ask your questions and assist others by sharing your knowledge. Join the conversation, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Super Contributor
Posts: 301
Registered: ‎02-09-2016
Accepted Solution

Add Javascript code to create sidebar in M.app?

Hi all,

 

I am experimenting Smart M.app. I divide the layout into two panels vertically, one for the map and one for custom code. In the custom layout, I add the javascript that creates the sidebar but it does not work at all. I check the source code and it seems to not load the custom code. Is there any trick that I miss?

 

Kind regards,

Technical Evangelist
Posts: 1,118
Registered: ‎09-11-2015

Re: Add Javascript code to create sidebar in M.app?

Hi Bob,

the custom code for creating sidebar has to go to the Map Panel (JS). The panels are actually separate iframes so the access from one to another is limited.

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Highlighted
Super Contributor
Posts: 301
Registered: ‎02-09-2016

Re: Add Javascript code to create sidebar in M.app?

Thanks Jan. I now fully understand how customisation works in M.app

 

Kind regards

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.