<?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 Diogo Nunes on Medium]]></title>
        <description><![CDATA[Stories by Diogo Nunes on Medium]]></description>
        <link>https://medium.com/@diogo.j.nunes?source=rss-8dc1e4d8898a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*u4a6gBRb9P3UzkHND0LZNw.jpeg</url>
            <title>Stories by Diogo Nunes on Medium</title>
            <link>https://medium.com/@diogo.j.nunes?source=rss-8dc1e4d8898a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 05:23:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@diogo.j.nunes/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[How to use the Checklist Dropdown component]]></title>
            <link>https://medium.com/noesis-low-code-solutions/how-to-use-the-checklist-dropdown-component-fd2932bbc901?source=rss-8dc1e4d8898a------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd2932bbc901</guid>
            <category><![CDATA[checklist-dropdown]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[low-code]]></category>
            <category><![CDATA[dropdown]]></category>
            <category><![CDATA[outsystems]]></category>
            <dc:creator><![CDATA[Diogo Nunes]]></dc:creator>
            <pubDate>Mon, 01 Feb 2021 18:29:27 GMT</pubDate>
            <atom:updated>2021-02-01T18:29:27.358Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="checklist dropdown in OutSystems tutorial" src="https://cdn-images-1.medium.com/max/1024/1*xs1TfYrfPa9SisLxHCsR3w.jpeg" /></figure><p>A couple of weeks ago the designer on our project gave us some mockups. They were all quite standard: pages with a list and some filters, details page, etc.</p><p>Although, there was one design that, until now, we didn’t have in our application. A Dropdown with four or five items, each one with a checkbox. The behavior intended was straight and forward: “every time I uncheck an item, it will immediately change the content of the list”.</p><p>The first thing I did was a search throughout the Forge for a component. I tried three or four and none of them seemed to work as we intended. So… let’s make one from scratch!</p><p>Here is a basic tutorial on how to use our <a href="https://www.outsystems.com/forge/component-overview/8969/checklist-dropdown">Checklist Dropdown component</a>, hope you enjoy!</p><p><strong>Step 1: </strong>After installing the Checklist Dropdown component on your environment, consume it on the module you want to use it. Don’t forget to consume every item there (Web Block and Structure)!</p><p><strong>Step 2: </strong>Drag and drop the dropdown’s web block to your screen. You’ll see that you need some work from your side:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*T1gnMawoUvhWsmOLVBJvHg.png" /></figure><p><strong>Step 3:</strong> Let’s start with the input parameter StaticEntityList</p><ul><li>Create a local variable of type <strong>CommonFilters List</strong> (you have to consume this structure);</li><li>On the <strong>Preparation</strong> of the screen, query your static entity and assign the output list to the CommonFiltersList like this:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*qg8Gg6pTx17XWVrbg-kmIg.png" /></figure><blockquote>Note: The <strong>IsSelected </strong>attribute as True is the default value that we are setting.</blockquote><p><strong>Now just send this list as the input parameter of the web block.</strong></p><p><strong>Step 4: </strong>Create an action to filter our data</p><p>Before developing the handler we need to find a way to filter our <strong>data</strong>. We will do it with a server action, since this action will be used on our <strong>Preparation</strong> and in our <strong>Handler</strong>.</p><p><strong>a) </strong>Our server action variables should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/163/1*5HHnndk94zWJGUIVBU-l3g.png" /></figure><p>An input parameter of type <strong>CommonFilters List </strong>and as an output parameter we send our list that will be <strong>filtered</strong>.</p><p><strong>b) </strong>We want to know which items from the CommonFiltersList are <strong>selected</strong>, so we use the <strong>ListFilter</strong> system’s action:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*deuMaEdshLSDR6c-lmKKmA.png" /></figure><p><strong>c) </strong>Now that we only have the MovieGenres that are selected, let’s do a ForEach to this list and filter an aggregate. Here is the filter we are using (take a look at the data conversion):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*pXbkqWccfs1W3FE8TfCVUg.png" /></figure><p>This Aggregate will get all the movies with the Current MovieGenre being iterated.</p><p><strong>d) </strong>Append the Aggregate’s list to our Output list using <strong>ListAppendAll</strong>.<strong> </strong>Now our server action should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*EipAbcI_s7w7g0FrE-BmBA.png" /></figure><p><strong>e) </strong>Drag and drop the new server action to the screen’s <strong>Preparation </strong>and send the local CommonFiltersList as an input parameter. You can save the output list within a local List of the same type. Here’s our Preparation example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/138/1*luHGwjE_5xUVXHnJJCIyzQ.png" /></figure><p><strong>Our Preparation is ready to go!</strong></p><p><strong>Step 5: </strong>Now we need a handler to the block’s event</p><p>In our example, the handler will be the <strong>RefreshMovieTable</strong> screen action.</p><p><strong>Step 6: </strong>Develop the handler’s logic</p><ul><li>On the web block click on New Argument:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*w5V_1WNWpUObNu3toBOeNA.png" /></figure><p>As you can see, you have the arguments Row and IsSelected. <strong>Add them to your action. </strong>Right now our screen looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/167/1*xLuSOcZIYX-B_PxaBQMSSg.png" /></figure><p>The IsSelected and Row values are passed by the dropdown block. All we have to do is:</p><ol><li>Assign the IsSelected value of the correct Row like this:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/210/1*SgGaenPrhkn03bbOU4mzQQ.png" /></figure><p>2. Refresh the filtered Movies. Just use our server action again</p><p>3. Update our local list with the new one from the server action.</p><p>Our handler should look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/119/1*dz8laAfgyCnYJ04U3rDRaA.png" /></figure><blockquote><strong>Note</strong>: We already have a table on our screen which has the local MoviesList as a source. That’s why we do an Ajax Refresh to the table.</blockquote><p>All you have to do now? Add your table/list records to the screen and set the <strong>Source Record List</strong> to be our local <strong>MovieList</strong>.</p><p><strong>Style guide</strong></p><p>The dropdown has an input parameter named “ExtendedClass”. This will set a class to the parent div, which will let you use it as a selector. For example:</p><p>.extended-class .dropdown-container{<br> background-color: #000;<br>}</p><p><strong>Any questions? </strong>Post them on our component’s forge page.</p><h3><strong>Want to check this demo?</strong></h3><p><strong>Here:</strong> <a href="https://www.outsystems.com/forge/Component_Overview.aspx?ProjectId=8969&amp;ProjectName=checklist-dropdown">https://www.outsystems.com/forge/Component_Overview.aspx?ProjectId=8969&amp;ProjectName=checklist-dropdown</a></p><p>Try <a href="https://www.linkedin.com/feed/hashtag/?keywords=outsystems&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A6757237095489650688">#OutSystems</a> Free Edition for free and discover the benefits of using a market-leading technology 💡 ➡️ <a href="https://bit.ly/36sl8IF">https://bit.ly/36sl8IF</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd2932bbc901" width="1" height="1" alt=""><hr><p><a href="https://medium.com/noesis-low-code-solutions/how-to-use-the-checklist-dropdown-component-fd2932bbc901">How to use the Checklist Dropdown component</a> was originally published in <a href="https://medium.com/noesis-low-code-solutions">Noesis Low-Code Solutions</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>