EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB442487: How to Create a Reset Button For Selectors in Document That Has Similar Functionality as the 'Reset Selections" Button in Hamburger Menu


Community Admin

• Strategy


How to Create a Reset Button For Selectors in Document That Has Similar Functionality as the 'Reset Selections" Button in Hamburger Menu
  • Create an HTML container on the document
  • Go to properties and formatting of the HTML container by right clicking the HTML container and select HTML Text instead of iFrame
ka04W000000OfXRQA0_0EM44000000Rbxk.png
  • In the HTML container and input the following Javascript


<script>

function resetSelection() {
  mstrApp.docModel.controller.resetSelections();
}
document.getElementById("button").addEventListener("click",resetSelection);
</script>
 <input id="button" value="Reset Selections" type="button"></p>
</form>

  KB442487


Comment

0 comments

Details

Knowledge Article

Published:

December 27, 2018

Last Updated:

January 3, 2019