Jump to content
  • 0
JanineB

Add New Button

Question

2 answers to this question

Recommended Posts

  • 0

If I understand correctly, you wanted to be able to append a button beside the "Back" button of a Details Drilldown.

 

To do so, just paste the code below in the footer of your DataPage. Do make sure the HTML Editor in the Advanced tab is unchecked before pasting the code.

<script>

var linkUrl = 'https://www.google.com'
var title = `Go ask Google, kiddie`;


//Your HTML goes here. Edits are not necessary but you may do so if you know what you're doing
var myButton = `
<a href="${linkUrl}" class="cbBackButton"> ${title} </a>
`; 

document.querySelector('.cbBackButtonContainer').insertAdjacentHTML('beforeend', myButton);

</script>

 

Hope this helps.

 

Regards,

DN31337

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×