Important Update: Some Community URL Redirects are Under Maintenance. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

How get the ID from fields/sections for 'Guide me' with JS

ASI_Sustentacao
Contributor III

Hello!


I am building a 'Guide me' for my findings in Archer, the code is running (including in Archer) but I don't know how to get the ID of the fields/sections and put it in my script. Can anyone help me?

 

        intro.setOptions({
            steps: [
                {
                    intro: 'Welcome test tour'
                },
                {
                    element: '#loitem49887',
                    intro: 'check this'
                },
                {
                    element: innerDoc.querySelector("#master_DefaultContent_rts_s1274_f22468c"), //it didn't work
                    intro: 'check this'
                },
                {
                    element: '#master_actions-dropdown',
                    intro: 'check this'
                }
            ]
        })

 

 I want to do something like the image, but in the fields/sections

ASI_Sustentacao_0-1672068649766.png

 

2 REPLIES 2

@Anonymous,

I tried with these functions but it still didn't work, the library I'm using requires an element from the section we want to 'highlight'. I believe a better question would be how can I reference an element that is in the form (from findings, for example), as if it were the id of a div?