Hello
I want to insert the header of another webblock in the Screen, but I don't know how.
Isn't there a better way?
I also want to set the button so that when I press the webblock update button, today's date and time come out
What I want to do now is to put a Webblock from another module into a module with a screen that represents the screen?
I also want to create a dynamic header.
I couldn't paste two oml, so I couldn't put the page I wanted to insert the header into. If you need OML, attach it in your chat reply.
If anyone understands, please take some time, but thank you.
Hi Kazuma,
To insert another webblock to screen in other module, first you need to make it Public Yes and then in the main screen just add dependency from the header webblock.
Could you share your main oml. file, and what are you trying to achieve in the dynamic header?
I hope that I can help you on this matter.
Thanks
Hello Akil
The main oml just wants to change the header, so whatever, but I'll attach the sample oml.
What I want to accomplish is, for example, if you have permissions for each account and there are several tabs in the header,
Accounts that can see all tabs by permission, accounts that can see some tabs,
I want to do something like an account where I can't see anything.
Also, I don't know if I can do this, but I can have a local variable etc. in the header, and from one screen,
Can you change that value?
Thank you so much for the problem solving!
Kazuma
I'll also attach a new header block
Hi @kazuma yamagata First you need to add a input paramter in the header Block and if the header value need to fetch from another block then you can add a event to another block and just pass the value to the input paramater of the header.
Regards
Bharathi
Hello Bharati
Even if you put a header block in a header block, the original layout/topmenu will remain.
The problem now is that all the headers in the top menu have been removed and cannot be replaced.
Hi,
Regarding your comment - "What I want to accomplish is, for example, if you have permissions for each account and there are several tabs in the header, Accounts that can see all tabs by permission, accounts that can see some tabs"
You can check below post -https://www.outsystems.com/forums/discussion/75577/how-to-hide-menu-and-buttons-based-on-role/