Does someone ever tried to add a QREL search field on a list_xx.htmpl file?
Use case : Get all the CIs which their direct parent is a particular CI. ( IE: Obtain the CIs that are linked to a meeting room)
I'm quite sure that this can be done.
Unfortunately, I would need to do some testing first, before suggesting any solution. And I don't have the ability to do so currently (vacation).
So unless nobody else will come up with an idea, you'll need to be patient. I'll be back in one week, and will take a look at this topic again.
seems like there is no way to pass square brakets using search inputs (like sfLookup).
For example (I use chg factory) we have Special Handling BREL:
<PDM_MACRO name=sfLookup hdr="Special Handling" attr="affected_contact.cnthandling_list.special_handling.sym" factory=special_handling>
Which procudes this URL part:
And it working great.
Then going to QREL in the same way:
<PDM_MACRO name=sfLookup hdr="Task Type" attr="id.[chg]workflow.task" factory="tskty">
URL looks like:
And it fails without any error message.
But if you pass same condition using ADDITIONAL_WHERE:
id.[chg]workflow.task = 'APP'
it will work as it should, so if you need this very very very much you can apply workaround: using sfLookup as a fake input and using ADDITIONAL_WHERE to pass value from the fake input.
Also, I'm hope that Michael_Mueller could provide better solution
Imaginative idea, but good luck for the guy after me
I'll keep that in mind and wait to see what Michael comes up with.
I assume I promised too much . My appologize. I'm very sorry about this, especialy, I raised up the expectations that high, and forced you to be that patient.
Playing and digging around with this question, I had to recognize, that there are certain limits in the webengine framework.
At least here is what I found:
I think it would be worth to raise an idea, so that the sfLookup macro would be able support QREL attribute searches ootb as well.
Kind regards ( and again please excuse my misleading assumptions )
Retrieving data ...