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
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 667 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 146 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive