Forum Discussion

RyanStanford1's avatar
RyanStanford1
Qrew Captain
7 years ago

Custom Save Button that then runs Code Page which requires Record ID of new record

I've used custom buttons to run Code Pages, and then redirect back to the original page, however this is a slightly different situation.

I've already hidden the original Save buttons, and want to create my own. The issue I'm having is that I need the Record ID of this record being created to run my code page properly as I need to populate a field with this value.

****Update****

The full work case that I'm trying to achieve is to Create a new record in parent table, and it's a file attachment.

When my save button is clicked, it will save the record, and I need the link of the actual file attachment, and the record ID of the newly saved record...

I've confirmed that once saved and I have the information hard coded, my JS code works... I just need the missing piece of getting this all together in one step.
No RepliesBe the first to reply