What about setting ":CATEGORY: PD v. BS" in the top level :PROPERTIES: drawer. 
Then in the agenda you'd see:

PD v BS:   My first pleadings

  -k.


On 2016-04-14 at 09:02, laurent.jucqu...@posteo.de wrote:
> Hi list,
>
> I'm trying to setup some custom agenda views that would be useful for my 
> work but i'm unable to define a custom org-agenda-prefix-format with 
> several %expression successfully.
>
> My org-file is as follow:
>
> * Pierre Dupond v. Belgian State
> :PROPERTIES:
> :Case: Dupond
> :Location: Court of XX
> :FiscalYear: 13-14
> :CaseNum: 15/RG/139
> :END:
>
> ** My first pleadings
> DEADLINE: <2016-05-15 mon.>
> ** Pleading from Belgian State
> ** My second pleadings
> ** etc.
>
> When I check my agenda, it doesn't serve me at all to see the general 
> description "** My first pleadings" if I don't know to which case it 
> relates.
>
> So, I'm trying to setup a custom agenda view that would look like this:
>
> Dupond 15/RG/139 (13-14) : My first pleadings
>
> I've come up with the following (mal-functionning) 
> org-agenda-prefix-format:
>
> %(org-get-entry (point) "Case" t) %(org-entry-get (point) "CaseNum" t) 
> %(org-entry-get (point) "FiscalYear" t)
>
> But this only gives me :
>
> Dupond : My first pleadings
>
> I would really appreciate that someone points me into the right 
> direction.
>
> Thanks,
>
> Laurent


Reply via email to