derive the entire filesystemPath (or at least a part) from an related database object
database object with path - is related to - database object with attachment On 10.09.2013, at 23:59, Theodore Petrosky <[email protected]> wrote: > Sorry, I don't understand what you want to accomplish. > > > > On Sep 10, 2013, at 4:40 PM, Jürgen Tabert <[email protected]> wrote: > >> I know that, but I think it's a configuration name and not an entity >> attribute. >> From the documentation: ...you could also define a configuration >> "Person.avatar" (the actual String is unimportant, but a good idea is to >> make it EntityName.relationshipName to >> keep things clear) and … >> er.attachment.[configurationName].file.filesystemPath >> What I mean is something like er.attachment.file.filesystemPath = >> /Library/WebServer/${Entity.attribute} >> >> >> >> On 10.09.2013, at 22:24, Theodore Petrosky <[email protected]> wrote: >> >>> >>> er.attachment.Entity.attribute.tempFolder = /tmp >>> er.attachment.Entity.attribute.maxSize = 2097152 >>> er.attachment.Entity.attribute.storageType = file >>> er.attachment.Entity.attribute.file.overwrite = false >>> er.attachment.Entity.attribute.file.filesystemPath=/path/to/erattachment >>> >>> from the video at 10:45 >>> >>> here are more of the settings, also when I navigate to the first link >>> below, there is a link to download the attachment tutorial source. >>> >>> http://wiki.wocommunity.org/download/attachments/1835048/ERAttachmentTutorial.zip?version=1&modificationDate=1287118908000&api=v2 >>> >>> WONDER:ERAttachmentTutorial.zip >>> >>> On Sep 10, 2013, at 3:58 PM, Jürgen Tabert <[email protected]> wrote: >>> >>>> I know the tutorial and the documentation but maybe I missed something. >>>> Which property allows me to define the attribute of an entity as >>>> filesystemPath? >>>> >>>> On 09.09.2013, at 22:50, Theodore Petrosky <[email protected]> wrote: >>>> >>>>> where (are) none of your questions answered here: >>>>> >>>>> http://wiki.wocommunity.org/display/documentation/ERAttachment+Framework >>>>> >>>>> http://wocommunity.org/podcasts/ERAttachment-Tutorial.mov >>>>> >>>>> Ted >>>>> >>>>> BTW: there is a property for that!! >>>>> >>>>> On Sep 9, 2013, at 3:44 PM, Jürgen Tabert <[email protected]> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> Is it possible to use a custom filesystemPath instead of the default >>>>>> path templates? >>>>>> For instance an attribute of an entity. >>>>>> >>>>>> thanks, >>>>>> >>>>>> Jürgen >>>>>> >>>>>> _______________________________________________ >>>>>> Do not post admin requests to the list. They will be ignored. >>>>>> Webobjects-dev mailing list ([email protected]) >>>>>> Help/Unsubscribe/Update your Subscription: >>>>>> https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com >>>>>> >>>>>> This email sent to [email protected] >>>>> >>>> >>>> >>> >> >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
