Important Update: Community URLs redirect issues are partially resolved. Learn More. .
2018-06-23 11:44 AM
Hi,
When i put custom button within tab ,it stop working and throw function not defined error.
here's the code.
<button onclick="download()">Download</button>
<script>
function download(){
//code
}
</script>
RSA Archer Custom Objects" data-type="spaceDavid PettyIlya Khen
2018-06-23 12:44 PM
Most likely tab is not activated or open at the time you try this object.
Tabs are loaded and rendered upon opening them. Once you select another tab, previous tab is nullified in terms of visualization, and object would not be loaded from there.
Put your code to some section always visible out side of tab.
2018-06-23 12:44 PM
Most likely tab is not activated or open at the time you try this object.
Tabs are loaded and rendered upon opening them. Once you select another tab, previous tab is nullified in terms of visualization, and object would not be loaded from there.
Put your code to some section always visible out side of tab.
2018-06-26 07:21 AM
Thanks llya but button should be within not default tab under some section.
2018-06-26 07:30 AM
Yes, I assumed. Then you will get such issues. Or you need to initialize your code, so every time tab is loaded, your custom object would be initialized.
2018-06-27 05:44 AM
Thanks, i would try pageload if it works.