<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"><channel><atom:link href="https://www.mscrm-addons.com/DesktopModules/LiveBlog/API/Syndication/GetRssFeeds?Tag=td&amp;mid=2185&amp;PortalId=0&amp;tid=165&amp;ItemCount=20" rel="self" type="application/rss+xml" /><title>News.mscrm-addons.com Blog</title><description>Hello and welcome to our blog! 

What can we do for you? 
Are you looking for further technical information or step-by-step instructions to our products? Or would you like to read the latest news on mscrm-addons?
Please feel free to browse our blog for detailed information and to share our posts! </description><link>https://www.mscrm-addons.com/Blog</link><item><title>How to add a filter to a relationship in DocumentsCorePack Template Designer</title><link>https://www.mscrm-addons.com/Blog/PostId/9989/how-to-add-a-filter-to-a-relationship-in-documentscorepack-template-designer</link><category>DocumentsCorePack (DCP),DCP 2015 / 2016,DCP 365</category><pubDate>Thu, 16 Feb 2017 12:40:42 GMT</pubDate><description>&lt;p&gt;This step-by-step-tutorial outlines how to add a filter to a relationship in DocumentsCorePack Template Designer. Usually, the simple creation of a relationship is enough, but sometimes, it can happen that you need to add a certain filter to a relationship. &lt;/p&gt;
&lt;p&gt;For example, imagine you would like to create an overview that shows which products you have in stock. &lt;br /&gt;
So, you could create one template listing all products where the amount is greater than 0 and one template where the amount is exactly 0. &lt;br /&gt;
In order to refine your result, you could additionally create a template that lists all products with an amount greater than 500. &lt;br /&gt;
&lt;br /&gt;
In this tutorial, we will show you how to create add a filter to a relationship, so that the result will only return products with an amount greater than 500.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1: ​Create a new template&lt;/strong&gt;&lt;br /&gt;
If you haven't created a template yet, please have a look at this &lt;a href="http://www.mscrm-addons.com/LinkClick.aspx?link=%2fBlog%2fPostId%2f9941%2fhow-to-create-documentscorepack-templates&amp;amp;tabid=165&amp;amp;portalid=0&amp;amp;mid=2185"&gt;blog article&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Step 2: Create a relationship&lt;/strong&gt;&lt;br /&gt;
If you haven't added an relationship yet, please have a brief look at this &lt;a href="http://www.mscrm-addons.com/LinkClick.aspx?link=%2fBlog%2fPostId%2f9942%2fhow-to-add-relationships-and-entites-to-dcp&amp;amp;tabid=165&amp;amp;portalid=0&amp;amp;mid=2185"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 3: Add a filter to a relationship&lt;/strong&gt;&lt;br /&gt;
Once the relationship is created&amp;nbsp;&lt;span style="font-size: 24px; color: #4f81bd;"&gt;❶&lt;/span&gt;, navigate to filters and click on the &lt;strong&gt;[Add]&lt;/strong&gt;-button&amp;nbsp;&lt;span style="font-size: 24px; color: #4f81bd;"&gt;❷&lt;/span&gt;. &lt;br /&gt;
Next, select which type of filter you would like to add (AND / OR) (here we use AND)&amp;nbsp;&lt;span style="font-size: 24px; color: #4f81bd;"&gt;❸&lt;/span&gt;. &lt;br /&gt;
Then, click on the lower &lt;strong&gt;[Add]&lt;/strong&gt;-button&amp;nbsp;&lt;span style="font-size: 24px; color: #4f81bd;"&gt;❹&lt;/span&gt;. This behavior opens a new window.&lt;br /&gt;
In the Condition-window&amp;nbsp;&lt;span style="font-size: 24px; color: #4f81bd;"&gt;❺&lt;/span&gt;, select a matching attribute (here: Amount), an operator (here: greater than) and a value (here: 500) and click on the &lt;strong&gt;[OK]&lt;/strong&gt;-button.​&lt;/p&gt;
&lt;p&gt;
&lt;div class="lightbox" data-plugin-options="{'delegate': 'a', 'type': 'image', 'gallery': {'enabled': false}}"&gt;&lt;a title="Add a filter to a relationship" href="/Portals/0/Blog/Filter%20relationships/Screenshot_1.png?ver=2017-02-16-114424-313"&gt;&lt;img alt="" class="img-responsive" src="/Portals/0/Blog/Filter%20relationships/Screenshot_1.png?ver=2017-02-16-114424-313" style="width: 500px; height: 393px;" /&gt;&lt;/a&gt;&lt;/div&gt;
Figure 1: Add a filter to a relationship&lt;/p&gt;
&lt;p&gt;&lt;span&gt;That's all you have to do. Simply return to the Template Designer with a click on the&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;strong&gt;[OK]&lt;/strong&gt;&lt;/span&gt;&lt;span&gt;-button in the Configure Fields and Datasource-window in order to proceed.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;That's it!&lt;/strong&gt; We appreciate your feedback! Please share your thoughts by sending an email to &lt;a href="mailto:support@mscrm-addons.com"&gt;support@mscrm-addons.com&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;</description><guid isPermaLink="false">9989</guid></item></channel></rss>