Hi Community,
I am migrating Our application from Silk UI web to Outsystems Web UI frame work, I Migrated all the components except "GetCssGlobalContext()" from Silk UI.
Does any one of you know what is the purpose of this "GetCssGlobalContext()" and if i remove it from application what will happen and is there any other similar function is available in Outsystems web UI?
Please advice, Thanks in advance.
Balaji
Hello Balaji.
There's no direct migration between these two UI frameworks.For that particular scenario that is something more structural and core, it will depend on where you need to use it. This is because for instance things like OS and browser are already added by the platform or by the LayoutWidgets block from OS UI Web on your DOM:
And also have a set of methods to deal with this:Also, for accessibility you have some options you might need to use:
As I mentioned there's no direct migration and this is the hardest part, but with some investment in understanding the new framework (which is good even for learnability) and mostly on testing you have all the tools and more than you had in SilkUI.
Cheers,GM
Hi GM,
Thanks for your response, So if I create this function as clone to remove the dependencies is it works?
Thanks and Regards
Sorry if I didn't explain myself well but there's no direct migration between these two UI frameworks. Meaning, is not guaranteed that removing that will keep everything working. I was just showing that all those features available in Silk are also covered in OS UIWeb but in a different way, so you need to test case by case to make sure everything works as expected.
Hello Balaji
I also found this documentation maybe it can also help you in this migration.
Thanks for the document but for my case no luck, I did find any thing related to GetCssGlobalContext().
Thanks
Hello @Balaji Ravikumar
Any update on this? Any feedback you might have to share with the community in order to share it with others?