<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PSM web integrations: is it possible to make conditional webform entries in PAM Self-Hosted Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309914#M11603</link>
    <description>&lt;P&gt;that sounds really interesting.....but at this moment in time cannot wait for that &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;your initial answer was exactly what I needed. going to experiment with it.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 15:08:32 GMT</pubDate>
    <dc:creator>ArieH</dc:creator>
    <dc:date>2023-06-06T15:08:32Z</dc:date>
    <item>
      <title>PSM web integrations: is it possible to make conditional webform entries</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309910#M11599</link>
      <description>&lt;P&gt;I see an added demand in our organisation to add web portals via PSM connectors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however, as I do not want to make a dedicated connection component for every type of portal, I am wondering if it is possible to make conditional statements in the webform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see several portals using a form to input credentials and submit by clicking a button.&lt;/P&gt;&lt;P&gt;there are only few differentiations like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for instance in different login forms:&lt;/P&gt;&lt;P&gt;"id=username" vs "id=email" vs "name=enter name"&lt;/P&gt;&lt;P&gt;or button is represented as&lt;/P&gt;&lt;P&gt;"id=loginButton" vs "id=submit"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now I have something like this in my webform:&lt;/P&gt;&lt;P&gt;username&amp;gt;{Username}&lt;/P&gt;&lt;P&gt;password&amp;gt;{Password}&lt;/P&gt;&lt;P&gt;loginButton&amp;gt;(Button)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in above example I like to do something like:&lt;/P&gt;&lt;P&gt;if "username" or "email" is found (as id/type/name), then enter {username}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in this way I can make one connection component that is capable of handling more than one type of portal.&lt;/P&gt;&lt;P&gt;The documentation is not clear in this for me.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 08:25:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309910#M11599</guid>
      <dc:creator>ArieH</dc:creator>
      <dc:date>2023-06-06T08:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: PSM web integrations: is it possible to make conditional webform entries</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309911#M11600</link>
      <description>&lt;P&gt;HI @Arie Hoogendoorn​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you have to consider the two aspects in managing an account: the login and, more importantly, the Password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It becomes really complicated to create a single component that can handle the two aspects. If you are referring exclusively to the connection you could try to implement a custom connection component with Autoit but I strongly advise against it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CyberArk provides the &lt;A alt="https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PCP/PGU-introduction.htm?tocpath=Developer%7CCreate%20extensions%7CPlugin%20Generator%20Utility%7C_____0" href="https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PCP/PGU-introduction.htm?tocpath=Developer%7CCreate%20extensions%7CPlugin%20Generator%20Utility%7C_____0" target="_blank"&gt;Plugin Generator Utility&lt;/A&gt; to facilitate these activities.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nino&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 11:39:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309911#M11600</guid>
      <dc:creator>A.Bambino095300</dc:creator>
      <dc:date>2023-06-06T11:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: PSM web integrations: is it possible to make conditional webform entries</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309912#M11601</link>
      <description>&lt;P&gt;With Xpath selectors you can write a selector that matches one of multiple possible elements on the page.&lt;/P&gt;&lt;P&gt;For example, your scenario with 2 differently named buttons, could be represented as:&lt;/P&gt;&lt;CODE&gt;//button[@id="loginButton" or @id="submit"] &amp;gt; (Button)(SearchBy=Xpath)&lt;/CODE&gt;&lt;P&gt;Selenium will click the first element it finds. You can even reference an object which is not clickable (like a heading), which will then act as a fallback, so CPM/PSM doesn't throw an error if the first element is not found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 12:01:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309912#M11601</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-06-06T12:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: PSM web integrations: is it possible to make conditional webform entries</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309913#M11602</link>
      <description>&lt;P&gt;And also there is an improved version of the PSM/CPM web apps plugin framework in development at CyberArk, which will actually allow you to use if-else scenarios and more complex conditionals, similarly to the one described in the original question.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 15:02:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309913#M11602</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-06-06T15:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: PSM web integrations: is it possible to make conditional webform entries</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309914#M11603</link>
      <description>&lt;P&gt;that sounds really interesting.....but at this moment in time cannot wait for that &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;your initial answer was exactly what I needed. going to experiment with it.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 15:08:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309914#M11603</guid>
      <dc:creator>ArieH</dc:creator>
      <dc:date>2023-06-06T15:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: PSM web integrations: is it possible to make conditional webform entries</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309915#M11604</link>
      <description>&lt;P&gt;@Bernhard Brückler​&amp;nbsp;&lt;/P&gt;&lt;P&gt;with your answer I got a bit further....already able to logon on three distict (small different elements) portals.&lt;/P&gt;&lt;P&gt;However, now I think I have a situation that does somehow not map with the clicking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;following is now in the webform:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;//*^[@id="Log_On" or @id="loginButton" or type="submit"^]&amp;gt;(Button)(searchby=xpath)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think because of the element difference this does not work. (&lt;I&gt;input vs button element?&lt;/I&gt;)&lt;/P&gt;&lt;P&gt;Do you or someone else know an alternative?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;working click element poral1&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;input type="submit" id="Log_On" value="Aanmelden" class="custombutton login_page"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;non working click element portal2&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;button type="submit" class="btn btn-raised btn-primary pull-right"&amp;gt;Aanmelden&amp;lt;/button&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 13:27:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309915#M11604</guid>
      <dc:creator>ArieH</dc:creator>
      <dc:date>2023-06-07T13:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: PSM web integrations: is it possible to make conditional webform entries</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309916#M11605</link>
      <description>&lt;P&gt;"type" needs to have an @ before it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you quickly want to test if an Xpath selector is working, you can open Chrome (on the CPM or your workstation, but not on PSM because the hardening would get in your way), open the developer tools, go into the elements tab, and press Ctrl-F to search. In the search field, you can enter the Xpath selector (for example: &lt;I&gt;//*[@id="Log_On" or @id="loginButton" or @type="submit"]&lt;/I&gt;) and Chrome should highlight all matching elements.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 14:08:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309916#M11605</guid>
      <dc:creator>CyberArkAlumni</dc:creator>
      <dc:date>2023-06-07T14:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: PSM web integrations: is it possible to make conditional webform entries</title>
      <link>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309917#M11606</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt; why didn't I/we see this....Thanks for this new tip.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 14:14:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/pam-self-hosted-discussions/psm-web-integrations-is-it-possible-to-make-conditional-webform/m-p/1309917#M11606</guid>
      <dc:creator>ArieH</dc:creator>
      <dc:date>2023-06-07T14:14:27Z</dc:date>
    </item>
  </channel>
</rss>

