Forum Discussion

TylerFoy81's avatar
TylerFoy81
Qrew Trainee
11 hours ago

URL Add Related Form (But popup like embedded Reports)

I am trying to make a URL Button to add a child record in a form Example:

URLRoot() & "db/" & DBID & "?a=API_GenAddRecordForm&_fid_13=" & ToText([Record ID#])& "&dfid=10&popup=1"

I also tried:

URLRoot() & "db/" & DBID & "?a=API_GenAddRecordForm&_fid_13=" & [Record ID#] & "&target=popup&popupwidth=500&popupheight=400"

 

I also tried these checking In Same Page, In New Window, And In Pop Up.but the button does not pop up like the embedded report. is it possible to make a button that works this way on PC and Mobile as it does in the Report button Link?

 

1 Reply

  • You can do this using a formula rich text field. Something like this

    "<a class='Vibrant Success OpenAsPopup' data-height=500 data-width=500 data-refresh=true href='" & 
    URLRoot() & "db/" & DBID & "?a=API_GenAddRecordForm&_fid_13=" & ToText([Record ID#]) & "&dfid=10" & 
    "'>Add Record</a>"