Skip to main content
Question

Multi-File Upload

  • January 16, 2025
  • 0 replies
  • 484 views

Forum|alt.badge.img+6

I have been using the ole Magic Buttons "Multi-file Upload" with a code page for years, love it, but it does not function correctly with the new forms. It will add the files behind the scenes, but it will not return & refresh. If I use the back-button and refresh, all is good. - messy with new forms.

Is there a way to fix the ole Magic Buttons "Multi-file Upload" code pager to work with the new forms?

Now moving on to new forms....

Using the lates QB Plugin for drag & drop upload of files, it simply will not save the parent before adding files, which clearly creates a relationship mess if you continue. Removing the button on parent add records creates another mess of users not updating or adding files.

Within the button of execution, is there a way to save and go directly to uploading files when clicking the plugin button to add files? save the parent and enforce the upload of file(s).

 

 

MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • January 16, 2025

I think there may be a way using a Rich Text field type and the SaveBeforeNavigating syntax, but I'm still testing, not quite there yet.


MarkShnierYou
Forum|alt.badge.img+22
  • Quickbase Alumni
  • January 17, 2025

Should lend the user and edit mode on the newly created record. It needs to be a formula rich text field type.

var text rid =
   If([Record ID#]>0,
      ToText([Record ID#]),
      "%%rid%%");

var text url = URLRoot() & "db/" & Dbid() & "?a=er&rid=" & $rid;

"<a class='Vibrant Primary SaveBeforeNavigating' data-replaceRid=true href='" & $url & "'>Save & Keep Working - Rich Text</a>"