Like the Subject, I need to know if there is any way to retrieve data from a Tab in code. The situation is, I have to change some interface values when I change the tab. So, I have to know what Tab I come from, through an "id Tab" or something like this. Even be able to save this reference in DDBB.
is it possible in code??
Thanks for your time,
You can create tabs using Buttons & place it at top of your interface so it will look like tab but it will work as buttons, so when you click the different buttons you can change interface values inside buttons saveInto also you can use ri!buttonValue to store the tab values & reference in DB
What "tabs" are you referring to? Tempo / Site tabs? Something customized on a particular SAIL form? Something else completely (like tabs in the browser)? The answer changes wildly depending on which of these (or anything else) you mean.
Thanks for your interest.
I mean at Site Tabs. I need to launch a SAIL that it go to DDBB and update/insert/delete a row/s, when I push a Site Tab. This is the functionality. It doesn't help me to put a button on the other layout, or something like this. I need the "action" start when push the Site Tab. if this is not possible, it would be to look for a different approach.
As far as I know, this is not possible without some further user interaction. Clicking into a site tab would be limited to loading a Report SAIL form or a process start SAIL form, but these will never do any database updates or other operations without at least a button click or certain other user actions.
As Mike said, you wouldn't be able to perform an action just by pushing a site tab. However, if you just want to capture somewhere which tabs have been selected, every navigation to any site tab is logged in the sites_usage log (including which user and which tab).
I'm also curious if there might be another way to meet your requirements without explicitly logging data. Can you explain what user behavior you are looking for? Are you expecting to remember some data from the previous tab to display on your new tab?
Discussion posts and replies are publicly visible
© 2019 Appian. All rights reserved.