Change help file in wizard depending on property value

Pernelle Marone-Hitz
Pernelle Marone-Hitz Member, Moderator, Employee Posts: 871
100 Answers 500 Comments 250 Likes First Anniversary
✭✭✭✭
edited June 2023 in Structures

How can I change the help .html file in a Wizard depending on the value of a property?

Tagged:

Answers

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 871
    100 Answers 500 Comments 250 Likes First Anniversary
    ✭✭✭✭
    Answer ✓

    The following commands can be used to set the content of the help component:

    step.UserInterface.GetComponent("Help").SetHtmlContent(System.IO.Path.Combine(installDir,"help","L_Type.html"))
    step.UserInterface.GetComponent("Help").Refresh()