Automatically put in access code for slideshow
Hi,
I was wondering if there was a way to automatically put in the access code for a slide show? I made a private publication with an access key, and I can't seem to find a way to automatically enter the value of the access code from server-side. I try to edit the field value with javascript, but the webpage does not respond until a key on the user's keyboard is pressed. Is there any way to bypass this?
Thanks!
Best Answer
-
Nevermind, found the fix in jQuery.
document.forms[0].elements[0].value = "Access_Key";
$(document).find('input, textarea, select').trigger('input').trigger('change').trigger('keydown');
scope.$apply(attrs.ngSubmit);
0
Answers
-
Nevermind, found the fix in jQuery.
document.forms[0].elements[0].value = "Access_Key";
$(document).find('input, textarea, select').trigger('input').trigger('change').trigger('keydown');
scope.$apply(attrs.ngSubmit);
0 -
Could you explain your solution a little further? How are you adding .js to a slideshow on the "server-side"?
EDIT -
I was able to create a grease monkey script to populate the code. Thank you for your code above as it pointed me in the correct direction.
0
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 470 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 193 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 174 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive