Thanks for the quick reply, I found the solution for why I could not save the file properly. Appearently type:Binary datanode in dialog must be present. I've searched thoroughly through the documentation but could not find anything about this setting, a colleague found it mentioned in a thread when googling on it....
I might have missed out or not seen the documentation where this was mentioned as I presume since this is quite essential in making the dialog working it would be documented. If you know of any documentation of this please provide a link: Many thanks for all help Regards Rana On Thu, Jul 8, 2010 at 9:42 PM, Jan Haderka <[email protected]>wrote: > If you save a dialog, then all the controls values (incl. file) are stored > in the jcr. > If you want to see the exact structure you can export the node and look it > up in the xml. Alternatively you can look it up via Tools/JCR Browser and > you will see the file as a node data (only the path/file name will be shown > in the value), however you you try to retrieve it via Magnolia API you will > be able to get the binary content. > > HTH, > Jan > > On Jul 8, 2010, at 3:09 PM, Rana Singh wrote: > > I'm successful in making a dialog where I can upload an image, is it so > that it gets automatically saved in the jcr? > I can see the other controlTypes under the jcr contentNode, but not the > file I've uploaded. > > Links or tips to documentation would be great! > > Regards > Rana > > On Thu, Jul 8, 2010 at 12:00 PM, Rana Singh <[email protected]> wrote: > >> Where does the uploaded files get stored? >> >> I found out that if I change the controlType to "file", I got the file >> uploading/browse button. >> >> I have a dialog where I make an article, but if I want to have a link to >> where this article is saved, where can I found this? >> >> Regards >> Rana >> >> >> On Tue, Jun 8, 2010 at 10:53 AM, Zdenek Skodik < >> [email protected]> wrote: >> >>> >>> Hi Rana, >>> >>> there are quite a lot places you can look at it, f.e. >>> * Magnolia samples module - samplesHowTo* paragraphs and its howTo >>> dialog >>> * STK - stkTextImage paragraph/dialog >>> >>> >>> -- >>> Best regards, >>> >>> Zdenek Skodik >>> Magnolia International Ltd. >>> >>> You should join us at Magnolia Conference 2010: >>> http://www.magnolia-cms.com/conference >>> >>> Magnolia® - Simple Open-Source Content Management >>> >>> >>> >>> >>> On Mon, 2010-06-07 at 23:37 +0200, Rana Singh wrote: >>> > Hi all, >>> > >>> > Sorry for the newbie-question, but I've been trying to make an >>> > article-template of the community edition (4.3.1), but am not able to >>> > make a dialog where one can choose and uploading an image (by browsing >>> > for it). >>> > >>> > I know this probably is an easy-peasy task, but no luck yet. >>> > Any hints, help or documentation on this subject would be much >>> > appreciated. >>> > >>> > Thanks in advance >>> > -- >>> > -- >>> > Rana Ranjit Singh >>> > Solutions Engineer | +47 413 50 220 >>> > Iterate AS | www.iterate.no >>> > The Lean Software Development Consultancy >>> >>> >>> ---------------------------------------------------------------- >>> For list details see >>> http://www.magnolia-cms.com/home/community/mailing-lists.html >>> To unsubscribe, E-mail to: <[email protected]> >>> ---------------------------------------------------------------- >>> >>> >> >> >> -- >> -- >> Rana Ranjit Singh >> Solutions Engineer | +47 413 50 220 >> Iterate AS | www.iterate.no >> The Lean Software Development Consultancy >> > > > > -- > -- > Rana Ranjit Singh > Solutions Engineer | +47 413 50 220 > Iterate AS | www.iterate.no > The Lean Software Development Consultancy > > > > > > ------------------------------ > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > -- -- Rana Ranjit Singh Solutions Engineer | +47 413 50 220 Iterate AS | www.iterate.no The Lean Software Development Consultancy ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
