This question about Upgrading from TWiki to Foswiki: Answered

Use of meta parent

I have an DataForms app where I was using % META{"parent" formfield="FolderSummary"} % to modify my breadcrumbs to show a form field recursing up the parent child relationship instead of the topic name.

My topic names are all Folder_xxx and are made with AUTOINCs.

That no longer works in Foswiki. I've tried a bunch of alternatives and none are working.

What I get is

I used to get

FancyName > FancySubName > Stage1

Any suggestions?


I can offer 2 alternatives:
  1. Foswiki 1.0 style, using FORMFIELD:
    %META{"parent" format="[[$web.$topic][$percntFORMFIELD{$quotTitle$quot topic=$quot$topic$quot}$percnt]]"}%
  2. Foswiki 1.1 style, using QUERY:
    %META{"parent" format="[[$web.$topic][$percntQUERY{$quot'$web.$topic'/Title$quot}$percnt]]"}%
-- ArthurClemens - 23 Oct 2010

I had tried a lot of options similar to the first but never had the quot's in there. So close. I chose to use the second option and it works smashingly. Thank you for the tip and for all the amazing things you've done with *wiki!!!

-- MatthewKoundakjian - 23 Oct 2010

QuestionForm edit

Subject Upgrading from TWiki to Foswiki
Extension
Version Foswiki 1.1.0
Status Answered
Topic revision: r3 - 23 Oct 2010, MatthewKoundakjian
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy