Forum Discussion
VivekVishwanat3
7 years agoQrew Cadet
HI,
I'm getting this text in the Childs field of the "Parents" table.
<img qbu='module' src='/i/clear2x2.gif' onload="javascript:if(typeof QBU=='undefined'){QBU={};$.getScript(gReqAppDBID+'?a=dbpage&pagename=module.js&rand='+new Date().getTime())};"><div class=QBU_Childs data-rid=1></div>
What is the thing that I missed. please Help. (I updated the Variables in the .js file )
I'm getting this text in the Childs field of the "Parents" table.
<img qbu='module' src='/i/clear2x2.gif' onload="javascript:if(typeof QBU=='undefined'){QBU={};$.getScript(gReqAppDBID+'?a=dbpage&pagename=module.js&rand='+new Date().getTime())};"><div class=QBU_Childs data-rid=1></div>
What is the thing that I missed. please Help. (I updated the Variables in the .js file )
- _anomDiebolt_7 years agoQrew EliteThe field needs to be a Rich Text Formula field. You have a Text Formula field currently.
- VivekVishwanat37 years agoQrew CadetI tried with Rich Formula Text Field. but I'm not successful.
I'm getting result as - _anomDiebolt_7 years agoQrew EliteThe code is generating two <li> bullets.
More than likely you have not set the parameters correctly for your application. These parameters are from my demo application:
//parameters:
var dbid = "bkgzxdr4x";
var dbidParents = "bkgzxdr6t";
var dbidChilds = "bkgzxfptb";
var apptoken = "q2aznmd9h7eymbwavpzjbsc8hcf";
var n = 100;
var relatedParentFid = "7";
var relatedParentLabel = "related_parent";
var clist = "3.7.10";
var qbuClass = "QBU_Childs"; - VivekVishwanat37 years agoQrew CadetThe Two dots are actually the data from comments fields of child table.
- aaa
- bbb
But, its just showing
its not pulling the data from the child table. What can be the possible reason.
I have Identified that I should be using App. specific dbids, fids and apptoken.
What is "QBU_Childs"? - IanGreig7 years agoQrew TraineeI just implemented the solution with some additional sorting using a slist: and it works very well.
Thanks Dan for you scripted solution it works really well and what's even better is I really don't know how to use Javascript but with Dans good support notes I was able to work it out.