<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bernardo Carapito on Medium]]></title>
        <description><![CDATA[Stories by Bernardo Carapito on Medium]]></description>
        <link>https://medium.com/@bernardo.carapito?source=rss-d2e756527c62------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*V_zwQoaP_W3jfWsGCSLl1w.png</url>
            <title>Stories by Bernardo Carapito on Medium</title>
            <link>https://medium.com/@bernardo.carapito?source=rss-d2e756527c62------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 12:17:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bernardo.carapito/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A tricky challenge with the OutSystems UI migration process for the Dropdown Tags widget]]></title>
            <link>https://medium.com/team-resilience/a-tricky-challenge-with-the-outsystems-ui-migration-process-for-the-dropdown-tags-widget-fac4e476ed09?source=rss-d2e756527c62------2</link>
            <guid isPermaLink="false">https://medium.com/p/fac4e476ed09</guid>
            <category><![CDATA[low-code]]></category>
            <category><![CDATA[outsystems]]></category>
            <dc:creator><![CDATA[Bernardo Carapito]]></dc:creator>
            <pubDate>Thu, 19 May 2022 10:45:13 GMT</pubDate>
            <atom:updated>2022-05-19T10:45:13.825Z</atom:updated>
            <content:encoded><![CDATA[<p>The release of OutSystems UI version <a href="https://www.outsystems.com/forge/component-overview/1385/outsystems-ui">2.8.3</a> introduced new versions of the Accordion, Carousel, Date Picker, Dropdown Search, Dropdown Tags and Notification blocks. All of these blocks now use the <a href="https://www.outsystems.com/forums/discussion/75653/outsystems-ui-v2-8-0-is-here-and-brings-many-improvements/">new architecture</a> that is aligned with industry best practices and offers new APIs which provide a wider range of customization for those components. This version also introduced a new pattern, the Date Picker Range, fixed multiple issues and contained several improvements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FsuY8b6AC8zW_wYx77eXxw.png" /><figcaption>Patterns revamped with the OutSystems UI version 2.8.3 release</figcaption></figure><p>To minimize the technical debt in your applications, it is advisable to migrate to new versions of OutSystems UI as soon as possible. Also, new versions will improve the stability and performance of the components. The migration process for every changed component is described in detail in the OutSystems <a href="https://outsystemsui.outsystems.com/OutSystemsUIWebsite/MigrationPath">Migration Path page</a>. However, there are some edge cases where the component can lose functionality if not correctly adapted to the context where it is being used.</p><h3>Dropdown Tags widget</h3><p>The <a href="https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Patterns/Using_Mobile_and_Reactive_Patterns/Interaction/Dropdown_Tags">Dropdown Tags pattern</a> “offers multiple choice options to the user when using a dropdown search”. In the project I am working on, we use this pattern as one of the inputs to filter a table. The component was also associated with a Reset button that, as the name suggests, would reset all the filters selected by the user. I was tasked with migrating the Dropdown Tags widget to the new implementation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/593/1*p_Z30-qNYiIV-43pjBqRqA.png" /><figcaption>Example of the usage of the Dropdown Tags widget</figcaption></figure><h3>The problem</h3><p>Before the OutSystems UI update, the SelectedItemsList parameter of the Dropdown Tags widget was used to store the list of selected records in a local variable. Whenever there was the need to programmatically reset the selected items of the widget, it was enough to clear this variable using the ClearList action, as presented in the flow below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*-vqdLDQMzWXLuxbJUvZyMw.png" /><figcaption>Previous implementation for the now deprecated version of the Dropdown Tags widget</figcaption></figure><p>The migration notes suggest associating the value of the SelectedItemsList parameter to the now called SelectedOptions attribute. After performing these steps, we encountered some issues with the behaviour of the widget:</p><ul><li>the widget would close for every tag selected. After its closure, the widget would still appear on focus, disabling the possibility of opening it again. This issue could be bypassed only if the user clicked outside of the widget to remove the focus on it.</li><li>the clearing filters feature would not work anymore for the dropdown tag widgets.</li></ul><h3>The solution</h3><p>The new version of OutSystems UI introduced an action called DropdownClear. This action can be called to clear the selected items on the Dropdown Tags widget, so there is no need any more to use the SelectedOptions attribute in the dropdown tag widget to clear the selected records.</p><p>The combination of these two changes are enough to solve the problems that were described before. This solution is illustrated in the images below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*q_f4_nuB0ugs5LG9OqCmHg.png" /><figcaption>DropdownClear action that is available on the OutSystemsUI module</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*ElxGbmFj1j8eCp2t9GN0WA.png" /><figcaption>Current implementation for the new version of the Dropdown Tags widget</figcaption></figure><h3>Conclusion</h3><p>For the most part, these types of migration processes are easy to implement thanks to the complete documentation provided by OutSystems. However, one of the main takeaways of this challenge is to always be mindful about subtle and unexpected changes of behaviour when making a migration of this sort.</p><p>This solution was effective in my use case, but there might be other ways to tackle this challenge. Let me know if you have alternative solution or if you encountered other challenges while upgrading OutSystems UI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fac4e476ed09" width="1" height="1" alt=""><hr><p><a href="https://medium.com/team-resilience/a-tricky-challenge-with-the-outsystems-ui-migration-process-for-the-dropdown-tags-widget-fac4e476ed09">A tricky challenge with the OutSystems UI migration process for the Dropdown Tags widget</a> was originally published in <a href="https://medium.com/team-resilience">Team Resilience</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>