<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged badge</title>
<link>https://overflow.efficy.io/?qa=tag/badge</link>
<description>Powered by Question2Answer</description>
<item>
<title>Detail badge</title>
<link>https://overflow.efficy.io/?qa=4402/detail-badge</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have a custom entity (BILL) with custom details.&lt;/p&gt;

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

&lt;p&gt;The badge only appears when I'm on the detail.&lt;/p&gt;

&lt;p&gt;I would like the &quot;2&quot; to be displayed all the time as is the case in standard on the actions.&lt;/p&gt;

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

&lt;p&gt;can you tell me what I miss?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Here is the code:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In MacroInvoiceCustom&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;BillQueriesCustom{[
&amp;lt;%RunQuery(id='DetailBadgeWaitingForMe', master='95', detail='5', param1='%%GetUserName()%', store='50000') %&amp;gt;
&amp;lt;%RunQuery(id='DetailBadgeMyInvoiceReadyToSent', master='95', detail='9', param1='%%GetUserName()%', store='50001') %&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;In MacroBadgesCustom&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DetailBadgeKeys {[
&amp;lt;%OnArgument('BADGEKEYS',
then=|&amp;lt;%Delay(0)%&amp;gt;GetDataGrid(query='DetailBadge$DETAIL$', count='-1', templatetext=`&amp;lt;#repeat&amp;gt;&amp;lt;#F=&amp;lt;%Macro(BadgeKeyField,entity=$DETAIL$)%&amp;gt;&amp;gt;&amp;lt;#S=;SEPARATOR=,&amp;gt;&amp;lt;/#repeat&amp;gt;`, nolinefeed=T)%&amp;gt;|,
else=|%%GetArgument(&quot;BadgeKeys&quot;,context=JS)|)
%&amp;gt;
]}

DetailBadge.Bill.WaitingForMe,
DetailBadge.Bill.MyInvoiceReadyToSent {[
data-badge-detail='$DETAIL$' data-badge-keys=&quot;&amp;lt;%Evaluate(|&amp;lt;%Macro('DetailBadgeKeys', detail='$DETAIL$')%&amp;gt;|,context=ATTR)%&amp;gt;&quot;
]}

DetailBadgeDisplay.Bill.WaitingForMe,
DetailBadgeDisplay.Bill.MyInvoiceReadyToSent
{[
&amp;lt;%Evaluate(|&amp;lt;%GetRecordCount(query=&quot;DetailBadge$DETAIL$&quot;)%&amp;gt;|)%&amp;gt;
]}

BadgeKeyField.WaitingForMe,
BadgeKeyField.MyInvoiceReadyToSent {[K_DOCUMENT]}

DetailBadgeBillKeys {[&amp;lt;%Evaluate(|&amp;lt;%Macro('DetailBadgeKeys', detail='$DETAIL$')%&amp;gt;|, context=ATTR)%&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Thanks for your help&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4402/detail-badge</guid>
<pubDate>Tue, 04 Jun 2019 07:44:52 +0000</pubDate>
</item>
<item>
<title>meaning of Badge for document/email</title>
<link>https://overflow.efficy.io/?qa=3307/meaning-of-badge-for-document-email</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I have a question about the meaning of Badge for document and email, as far as i found in build notes it means there's document(s) or mail(s) to be handled by user, the query behind is checking UPLOADSTATE = 1, so what does this mean? when we get this field (UPLOADSTATE) set to 1? is it something related to &quot;AutoMailUploader&quot; service? or scanned document?&lt;/p&gt;

&lt;p&gt;Thank you in advance for the help and clarification.&lt;/p&gt;

&lt;p&gt;Best regards&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3307/meaning-of-badge-for-document-email</guid>
<pubDate>Mon, 18 Jun 2018 09:33:25 +0000</pubDate>
</item>
<item>
<title>How do the badges work?</title>
<link>https://overflow.efficy.io/?qa=1291/how-do-the-badges-work</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Could someone tell me how the badges work? Support could not tell me.&lt;br&gt;
Blue badges with numbers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Task:  What triggers the badge (Undone, delegated etc.)&lt;/li&gt;
&lt;li&gt;Cases:  idem&lt;/li&gt;
&lt;li&gt;Timesheet:  idem&lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1291/how-do-the-badges-work</guid>
<pubDate>Thu, 28 Jan 2016 10:31:34 +0000</pubDate>
</item>
</channel>
</rss>