
I am trying to save custom views using
rememberCustomViewAsyncand displaying the saved view using
showCustomViewAsync, I want to parse the response received from executing
rememberCustomViewAsync, it returns various details including the
urlof the view, i need to access `url` and other details the rememberCustomViewAsync method returns
here is the code for your reference
$(document).on('click', '.new_dashboard_preference > [type="button"]', function() {
tableauViz.getWorkbook().rememberCustomViewAsync($('#dashboard_preference_name').val()).then(function(customView) {
console.log(customView.url); //this is what i am trying to access
jQuery(this).parent('form')[0].submit();
}).otherwise(function (err) {
console.log(err.message);
});
});
Can any please guide as to how the response received from
rememberCustomViewAsyncbe parsed in javascript. Thanks.
Escrever uma resposta...
0/9000