<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged custom-view</title>
<link>https://overflow.efficy.io/?qa=tag/custom-view</link>
<description>Powered by Question2Answer</description>
<item>
<title>Link Timesheet table to another table than project</title>
<link>https://overflow.efficy.io/?qa=4218/link-timesheet-table-to-another-table-than-project</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;We did a customisation on the timesheet a few month ago that allow user to timesheet on opportunity &lt;strong&gt;or&lt;/strong&gt; project.&lt;/p&gt;

&lt;p&gt;The customisation work fine, the customer is happy, voilà.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;BUT&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Now, he want to &quot;analyse&quot; the data and make selections with them. Without native SQL, he cannot make a link between the table &quot;timesheet&quot; and &quot;opportunities&quot;, by default.&lt;/p&gt;

&lt;p&gt;I found the function tag &lt;code&gt;&amp;lt;%SelectJoinTable()%&amp;gt;&lt;/code&gt; in dialog/Tables.htm. How can I change things in &lt;code&gt;sys_relations&lt;/code&gt; and &lt;code&gt;sys_relentities&lt;/code&gt; to have the possibility to link opportunities to Timesheet ?&lt;/p&gt;

&lt;p&gt;Regards,&lt;/p&gt;

&lt;p&gt;Loïc&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4218/link-timesheet-table-to-another-table-than-project</guid>
<pubDate>Thu, 09 May 2019 19:53:42 +0000</pubDate>
</item>
<item>
<title>Join a lookup table in a custom view</title>
<link>https://overflow.efficy.io/?qa=4195/join-a-lookup-table-in-a-custom-view</link>
<description>&lt;p&gt;Here's the context:&lt;/p&gt;

&lt;p&gt;I have a field called &lt;code&gt;F_FUNCTION&lt;/code&gt; in the table &lt;code&gt;CONT_COMP&lt;/code&gt;. This field is an integer value refering to the lookup table &lt;code&gt;LK_CONT_COMP_FUNCTION&lt;/code&gt;. In this lookup there is obviously the field &lt;code&gt;F_FUNCTION&lt;/code&gt; and there's no problem getting its value. &lt;/p&gt;

&lt;p&gt;But in the very same lookup, there's another field called &lt;code&gt;F_STATUS&lt;/code&gt; (for each &lt;code&gt;F_FUNCTION&lt;/code&gt; there is a &lt;code&gt;F_STATUS&lt;/code&gt;). This field contains values like &quot;gold&quot;/&quot;silver&quot;/&quot;aucun&quot; and I'd like to get those values in my custom view.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=6403084654780643134&quot; alt=&quot;Lookup picture&quot;&gt;&lt;/p&gt;

&lt;p&gt;So my goal would be to make a join between the &lt;code&gt;CONT_COMP&lt;/code&gt; table and the &lt;code&gt;LK_CONT_COMP_FUNCTION&lt;/code&gt; lookup table so I can have access to values, stored in other columns of the lookup table, in my custom view.&lt;/p&gt;

&lt;p&gt;Is there a simple way to achieve that?&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4195/join-a-lookup-table-in-a-custom-view</guid>
<pubDate>Tue, 07 May 2019 09:22:05 +0000</pubDate>
</item>
<item>
<title>Custom queryview with relation information from one level up</title>
<link>https://overflow.efficy.io/?qa=3504/custom-queryview-with-relation-information-from-one-level</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;is it possible to have in Efficy show information from the relation one level up? I'm struggling with this and everytime the custom queryview have an error and this is been disabled.&lt;/p&gt;

&lt;p&gt;I shall try to explain my situation. For a customer we use Main publications with linked Variants and these Variants are linked to Segments. A Segment will be linked to a Contact. Now we want to show in the Publications tab of a Contact custom information from the link between a Variant and a Segment. So I need the information from one level up in the relation instead of one level down which is default in Efficy.&lt;/p&gt;

&lt;p&gt;Update: Below how I've made the join.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=4146676922262049069&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=15901533701977476885&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3504/custom-queryview-with-relation-information-from-one-level</guid>
<pubDate>Tue, 04 Sep 2018 14:26:16 +0000</pubDate>
</item>
<item>
<title>Join custom view in sys_queries</title>
<link>https://overflow.efficy.io/?qa=3141/join-custom-view-in-sysqueries</link>
<description>&lt;p&gt;I've got my own view &lt;code&gt;CUSTOM_R_CHECKAGENDA&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I would like to join this view in the &lt;code&gt;sys_query&lt;/code&gt; for the Agenda &lt;code&gt;35,1 35,2&lt;/code&gt; and &lt;code&gt;35,3&lt;/code&gt;. The join would be on &lt;code&gt;K_ACTION&lt;/code&gt;. How to solve this? Below the current sys_query 35,1.&lt;/p&gt;

&lt;p&gt;My final goal is to change the agenda-colors based on the value in a new field in the custom view.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[Select]
ACTIONS.K_ACTION
ACTIONS.DONE
ACTIONS.D_BEGIN
ACTIONS.D_END
ACTIONS.SUBJECT
ACTIONS.D_CHANGE
ACTIONS.MODE
ACTIONS.NATURE
ACTIONS.TRAVELBEFORE
ACTIONS.TRAVELAFTER
ACTIONS.TIMEZONE
ACTIONS.TIMEZONE [TZMODIFIED]
ACTIONS.LOCATION
ACTIONS.USERS
ACTIONS.ALLDAYEVENT
ACTIONS.F_ACTIVITEIT nolookup
ACTIONS.F_DUBBEL nolookup
ACTIONS.F_BM nolookup
ACTI_USER.ISAGENDA hidden
ACC_GROUPS.K_USER2 hidden
ACTI_USER.P_D_END hidden
ACTI_USER.P_D_BEGIN hidden

[From]
ACTI_USER
ACC_GROUPS
ACTIONS


[Where]
ACTI_USER.ISAGENDA = '1' [fixed]
ACC_GROUPS.K_USER2 in 0
ACTI_USER.P_D_BEGIN &amp;lt; &quot;01/01/1970&quot;
ACTI_USER.P_D_END &amp;gt;= &quot;01/01/1970&quot; 
&amp;lt;#SkipAppendSecurityClause&amp;gt;

[Orderby]

[Options]
Distinct=1
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Efficy Partners</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3141/join-custom-view-in-sysqueries</guid>
<pubDate>Mon, 14 May 2018 09:27:00 +0000</pubDate>
</item>
</channel>
</rss>