Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
J.
MVP
171
Views
3
Comments
Solved
[Silk UI Web] Uncaught TypeError: Cannot read property 'getAttribute' of null
Question
Forge
Silk UI Web (O11)
Forge asset by
OutSystems
Hi,
we get an error in the function detectDevice().
Besides we don;t know why it's occuring, we sure like to see a better exception-handling for it.
Samuel Jesus
Staff
Solution
Hello Joost,
After taking a look at all the information you shared (both here and on the PM) we noticed that you have a custom layout that does not follow the Silk UI Layout rules.
Every Silk UI Layout needs to have a container with the class "Page" enclosing the layout, and that class needs to use a specific function(see image bellow).
Can you add that container and test your app again?
Best Regards,
Samuel Jesus
See solution in context
Samuel Jesus
Staff
Hello Joost,
Can you please provide more details on how to replicate your issue?
Also, can you please specify which version of Silk UI Framework you have installed on your server ?
Best Regards,
Samuel Jesus
J.
MVP
I PM'd you.
we are using currently 1.1.0.
by accident we upgraded 1 server to the latest silkUI and buttons and links stopped working alltogether, so that's a bridge we are have to cross soon.
Samuel Jesus
Staff
Solution
Hello Joost,
After taking a look at all the information you shared (both here and on the PM) we noticed that you have a custom layout that does not follow the Silk UI Layout rules.
Every Silk UI Layout needs to have a container with the class "Page" enclosing the layout, and that class needs to use a specific function(see image bellow).
Can you add that container and test your app again?
Best Regards,
Samuel Jesus
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...