You are here: Foswiki>Tasks Web>Item2475 (09 Dec 2009, PaulHarvey)Edit Attach

Item2475: Ability to write content to a topic instead of attachment

pencil
Priority: Enhancement
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: SomethingElse
Component:
Branches:
Reported By: PaulHarvey
Waiting For:
Last Change By: PaulHarvey
AttachContentPlugin has been very useful: generating CSV files for import into other databases/spreadsheets, for example.

I have been using it in another, very ugly kind of way and I know I'm not the only one doing it: generating a .txt topic as an attachment, and then symlinking that file into my /data directory - to save a search result as static content to be INCLUDEd in parts of our skin customisation (web lists).

I now need to generate/update topics in a wiki application (form builder thing) which will be used by ordinary users, so maintaining symlinks from /pub is out of the question. I've been hacking AttachContentPlugin to provide a %STARTTOPIC%=/=%ENDTOPIC% feature.

Question:

-- PaulHarvey - 08 Dec 2009

The plugins API doesn't have a real interface to UI::Save. In retrospect it would be safer for my application to just build a form that will POST to the save script in the browser.

Already documented at BestPracticeTip5

-- PaulHarvey - 09 Dec 2009

ItemTemplate edit

Summary Ability to write content to a topic instead of attachment
ReportedBy PaulHarvey
Codebase trunk
SVN Range
AppliesTo SomethingElse
Component
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r2 - 09 Dec 2009, PaulHarvey
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