close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Digital File Pro (UE 4.0.1) | Using Database ID to Create the Name

Thread began 3/31/2011 6:58 pm by codamedia | Last modified 4/01/2011 3:02 pm by codamedia | 1594 views | 4 replies |

codamedia

Digital File Pro (UE 4.0.1) | Using Database ID to Create the Name

For the most part, I keep my image names very simple during uploads. I don't allow user input, I just capture the image and build the name based on the database id.

EG: <database_id>_thumb.jpg, and/or <database_id>_detail.jpg

Getting the latter end of these names is simple, but I am having a hard time with capturing the database_id.

1: Is this possible within the "Digital File Pro" upload dialog box or do I need to custom code this?

2: For an update it would be simple because the database_id already exists, but how would I capture the ID during an insert?

3: Am I better off creating a Data Assist insert, or can this work with a simple Dreamweaver insert (or more often than not, custom forms) as well?

For the record, I am coming from Kollection/ADDT which managed this from the dialog. I'm more than willing to learn a new way, I just need a little guidance :) Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

when using the data assist insert record behavior, this is simple, the record ID is stored in a session variable. See the Session section of the insert record behavior interface. in the upload file behavior, click the lightning bolt next to file name and select the session created by the insert record behavior

Sign in to reply to this post

codamedia

Thanks for the info Jason. I was initially trying this with standard Dreamweaver inserts/updates - as well as some older custom forms. I figured DataAssist might be the answer but haven't dove into that yet. I guess it is now time :)

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.


The DataAssist insert and update behaviors really offer a lot more features and flexibility then the standard DW Insert and Update behaviors.

Sign in to reply to this post

codamedia

EDITED POST:

Originally I was posting that I still could not get this working on the insert page, but that was user error. I did not have the trigger for the upload set correctly.
The information provided in this thread worked perfectly.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...