<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hi , i have two cdts namely &amp;#39;A&amp;#39; and &amp;#39;B&amp;#39; wherein &amp;#39;A&amp;#39; has</title><link>https://community.appian.com/discussions/f/data/1286/hi-i-have-two-cdts-namely-a-and-b-wherein-a-has</link><description>Hi , i have two cdts namely &amp;#39;A&amp;#39; and &amp;#39;B&amp;#39; wherein &amp;#39;A&amp;#39; has one to many relation with &amp;#39;B&amp;#39;.Now while showing the records of &amp;#39;A&amp;#39; i also want to fetch the details of &amp;#39;B&amp;#39; . How can i do that. For example if there is a field &amp;#39;Name&amp;#39; in B and reference variable</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi , i have two cdts namely 'A' and 'B' wherein 'A' has</title><link>https://community.appian.com/thread/4622?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2013 17:21:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:12908a50-7b4d-4a1c-aa46-bfb664b110ce</guid><dc:creator>himanshug</dc:creator><description>@sathya: is there a way to go about that ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , i have two cdts namely 'A' and 'B' wherein 'A' has</title><link>https://community.appian.com/thread/4543?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2013 10:38:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a4b8656f-ea24-4dba-9df8-7d60b8ed8d48</guid><dc:creator>himanshug</dc:creator><description>Thanks sathya for the reply. My QR is fetching single value from the Database. Moreover its working fine while testing through QR or expression editor. But while using the same SAIL component over the tempo in Records. Its giving JAX error.&lt;br /&gt;&lt;br /&gt;&amp;quot;com.appiancorp.co&lt;br /&gt;mmon.xml.JaxbConversionException: JAXB failure trying to convert typed value Typ&lt;br /&gt;edValue[it=744,v={{{TypedValue[it=3,v=_cId]=TypedValue[it=3,v=0]},&amp;lt;null&amp;gt;},{{{htt&lt;br /&gt;p://10.100.11.18:8080/suite/rest/a/record/latest/dcmCases/kEBzj3pNGR7_2c-xOprEV9&lt;br /&gt;g3YcFPC8ycgpMvpwaKiMS37Y-DKNENR9eAPKXSdb1HsL9K-9XAAQp3f2reL1kDjWW4g,update,,&amp;lt;nul&lt;br /&gt;l&amp;gt;,&amp;lt;null&amp;gt;}}},TypedValue[it=593,v={{&amp;lt;null&amp;gt;,{TypedValue[it=1016,v={{{TypedValue[it&lt;br /&gt;=3,v=_cId]=TypedValue[it=3,v=1__testingqueryruleinrecord_6]},&amp;lt;null&amp;gt;},Customer,,&amp;lt;&lt;br /&gt;null&amp;gt;,1,&amp;lt;null&amp;gt;,Queue Manager,&amp;lt;null&amp;gt;,&amp;lt;null&amp;gt;}]}}}],&amp;lt;null&amp;gt;,&amp;lt;null&amp;gt;,&amp;lt;null&amp;gt;}] to java&lt;br /&gt;class com.appiancorp.uidesigner.conf.CanonicalUiConfig&amp;quot;&lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , i have two cdts namely 'A' and 'B' wherein 'A' has</title><link>https://community.appian.com/thread/4524?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2013 19:00:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1635dbe9-ee2b-401e-a9f5-369e62da4584</guid><dc:creator>Sathya Srinivasan</dc:creator><description>Oh! I forgot to mention - If your QR returns multiple record, then you need to dynamically create multiple TextField contents to display each of the name OR use a grid.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , i have two cdts namely 'A' and 'B' wherein 'A' has</title><link>https://community.appian.com/thread/4523?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2013 19:00:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2071e7ea-355b-4264-85c3-0028cd5b64ba</guid><dc:creator>Sathya Srinivasan</dc:creator><description>try cc.data.title.&lt;br /&gt;&lt;br /&gt;Execute your with() rule in expression editor to understand what it returns.  This will help you extract the different contents easily.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , i have two cdts namely 'A' and 'B' wherein 'A' has</title><link>https://community.appian.com/thread/4520?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2013 16:16:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0cea721b-fc8a-4bcc-95c1-ba80a8edd23c</guid><dc:creator>himanshug</dc:creator><description>@Sathya : Sorry to bother again , but i am still not able to do this . This is what i have done &lt;br /&gt;&lt;br /&gt;=with (cc:rule!fetchValueForBqueryrule(rf!Number),{'type!{http://www.appian.com/ae/types/2009}ColumnLayout'(&lt;br /&gt;        contents: {&lt;br /&gt;          'type!{http://www.appian.com/ae/types/2009}TextField'(&lt;br /&gt;            label: "Customer",&lt;br /&gt;            readOnly: true,&lt;br /&gt;            value: cc.Title          )&lt;br /&gt;                }&lt;br /&gt;      )})&lt;br /&gt;&lt;br /&gt;And pasted the above code in the UI dasboard expression but it still gives me error saying "Could not retrieve record dashboard" &lt;br /&gt;Could you please help me this is on high priority&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , i have two cdts namely 'A' and 'B' wherein 'A' has</title><link>https://community.appian.com/thread/4519?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2013 13:32:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f4e1321-515b-458f-b1b1-60ef12ae9480</guid><dc:creator>Sathya Srinivasan</dc:creator><description>You will be using a QR to fetch B in the Record for A.  Use the With() statement to run a query rule and work with the result to build the UI for B.&lt;br /&gt;&lt;br /&gt;For e.g. In the A record, you can have something like&lt;br /&gt;with (cc:fetchValueForBqueryrule(a.id),&lt;br /&gt; {define your SAIL definition for displaying value of B using cc as alias.}&lt;br /&gt;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , i have two cdts namely 'A' and 'B' wherein 'A' has</title><link>https://community.appian.com/thread/4518?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2013 13:30:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c15d83f4-281a-4cc5-89d7-2619add3b808</guid><dc:creator>himanshug</dc:creator><description>@Sathya: I have a requirement to show data on RECORD for entity bach records using one to many relationship on tables. When fetching data from the reference table called B from A (A to B-one to many relationship) is giving me an error. Could you please provide any solution for the same.&lt;br /&gt;&lt;br /&gt;Secondly can we used QueryRule in the Record expression.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , i have two cdts namely 'A' and 'B' wherein 'A' has</title><link>https://community.appian.com/thread/4517?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2013 11:24:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c28509d1-e304-47e2-b27f-fadbb63e8005</guid><dc:creator>himanshug</dc:creator><description>i am trying to show name as Many.Name which gave me an error and then i tried to show it like  Many.Name[1] and then again it showed me  an error .Could you please help me .&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , i have two cdts namely 'A' and 'B' wherein 'A' has</title><link>https://community.appian.com/thread/4457?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2013 16:59:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c918e14b-43bc-4c22-8258-6aa7e989486d</guid><dc:creator>Mike Schmitt</dc:creator><description>How are you trying to show [Name]?  It sounds like you need to treat it like an array (since it is being returned as one).&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi , i have two cdts namely 'A' and 'B' wherein 'A' has</title><link>https://community.appian.com/thread/4450?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2013 15:19:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2a6ffd0e-7c93-464e-86e9-b77aee7f8f45</guid><dc:creator>Sathya Srinivasan</dc:creator><description>If you have the relation defined in your CDT,  a query rule to fetch A should fetch B automatically as it&amp;#39;s child element.  Are you saying this is not happening? If so, I suggest you raise a support ticket.&lt;br /&gt;On the other hand, if you are not maintaining the relationship via JPA, an easier (and I personally prefer keeping tables decoupled) is to have one QR that fetches A and using the with() statement and an alias, you can get the corresponding ID and fetch the B&amp;#39;s &lt;br /&gt; Lastly, I&amp;#39;ve seen this issue when fetching nested CDT&amp;#39;s.  If I remember correctly, the work-around was to have a QR that fetches the B&amp;#39;s for a given A&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>