Forums » User Discussion » Modeller » Object Creation Location Based Off Of URL

Object Creation Location Based Off Of URL

#1 posted Thu, 01 Aug 2019, 03:04 PM

Is there a way to set the creation location of an object to be the child of the object ID referenced in the page URL?

I have a button on the top tool bar of a form thats in a form atom on a page. The button opens a new object form but I'm unsure how to set the creation location to relate to the URL: https://universalvolunteernetwork.com/project-0?object=800

I gather that this may be handled in XFlow in the near future but in the meantime would this require the button to use a short line of custom js?

#2 posted Fri, 02 Aug 2019, 09:18 AM

Hi James,

I imagine you are using a "Open Form / New Object" Button, in that case you can select the "FormsKey" Variable to create from. 

When you select a Query String on the Atom config it sets that property in the URL to be the "FormsKey", from there you can use it as a normal Variable.

Shaun