<?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>Question Re: Add a Persaonas button dynamically in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329399#M4618525</link>
    <description>&lt;P&gt;Hi &lt;A href="https://answers.sap.com/users/3165/tamas.hoznek.html"&gt;Tamas Hoznek&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;could you please share what is the option  you mention as below, any link or example may help how to use viewports.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if you need to do this with many objects, then via viewports for better performance.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;RD&lt;/P&gt;</description>
    <pubDate>Wed, 10 Mar 2021 17:16:14 GMT</pubDate>
    <dc:creator>Ritz</dc:creator>
    <dc:date>2021-03-10T17:16:14Z</dc:date>
    <item>
      <title>Add a Persaonas button dynamically</title>
      <link>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaq-p/12329395</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;Does anyone know if it is possible to add Personas buttons to a screen dynamically via scripting? Something like session.utils.button.add() or something like that? I want to provide some dynamic functionality to my users. I know I can add all the buttons I want and then hide and show them as necessary.&lt;/P&gt;
  &lt;P&gt;If not, perhaps the SAP Screen Personas team can look at this type of functionality for future releases (i.e. adding various objects dynamically such as buttons, labels, combo boxes, text fields, etc).&lt;/P&gt;
  &lt;P&gt;Cheers,&lt;/P&gt;
  &lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 22:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaq-p/12329395</guid>
      <dc:creator>Brian_Wills</dc:creator>
      <dc:date>2021-03-09T22:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Persaonas button dynamically</title>
      <link>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329396#M4618522</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;bwills&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;The only possible and working solution i know is to create button and hide /unhide based upon screen logic. &lt;/P&gt;&lt;P&gt;For a user it will work same way even if its added by virtue of adding it through "session.utils.button.add()" or adding on screen and using on screen event. &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;RD&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 04:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329396#M4618522</guid>
      <dc:creator>Ritz</dc:creator>
      <dc:date>2021-03-10T04:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Persaonas button dynamically</title>
      <link>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329397#M4618523</link>
      <description>&lt;P&gt;HI Ritesh,&lt;/P&gt;&lt;P&gt;That is what I thought too.  I have created some logic to show and hide buttons.  I appreciate your input!&lt;/P&gt;&lt;P&gt;Perhaps &lt;SPAN class="mention-scrubbed"&gt;peter.spielvogel&lt;/SPAN&gt; can add this one to future releases?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 14:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329397#M4618523</guid>
      <dc:creator>Brian_Wills</dc:creator>
      <dc:date>2021-03-10T14:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Persaonas button dynamically</title>
      <link>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329398#M4618524</link>
      <description>&lt;P&gt;As Ritesh suggested, you can achieve the effect you are looking for by scripting, either by individual hiding / unhiding of controls or if you need to do this with many objects, then via viewports for better performance.&lt;/P&gt;&lt;P&gt;Personas is not intended to create objects on the screen dynamically, so I don't foresee that the suggested feature would be added.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 16:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329398#M4618524</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2021-03-10T16:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Persaonas button dynamically</title>
      <link>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329399#M4618525</link>
      <description>&lt;P&gt;Hi &lt;A href="https://answers.sap.com/users/3165/tamas.hoznek.html"&gt;Tamas Hoznek&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;could you please share what is the option  you mention as below, any link or example may help how to use viewports.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if you need to do this with many objects, then via viewports for better performance.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;RD&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 17:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329399#M4618525</guid>
      <dc:creator>Ritz</dc:creator>
      <dc:date>2021-03-10T17:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Persaonas button dynamically</title>
      <link>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329400#M4618526</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;ritesh.dube&lt;/SPAN&gt;, to learn about viewports, you can refer to the following resources:&lt;/P&gt;&lt;P&gt;&lt;A href="https://open.sap.com/courses/sps4/items/1jn8iDliGJgKZc2ibbgzWo"&gt;Unit 4: Building Wizards with Viewports | Building Mobile Applications (sap.com)&lt;BR /&gt;&lt;/A&gt;&lt;A href="https://www.youtube.com/watch?v=zK2mACslF7Q" target="test_blank"&gt;https://www.youtube.com/watch?v=zK2mACslF7Q&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;One reason to use this technique is that making dynamic changes via script to many controls will have a performance penalty, compared to taking advantage of viewports instead.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 20:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/add-a-persaonas-button-dynamically/qaa-p/12329400#M4618526</guid>
      <dc:creator>Tamas_Hoznek</dc:creator>
      <dc:date>2021-03-10T20:25:13Z</dc:date>
    </item>
  </channel>
</rss>

