vLookup Get ParentID to use in javascript
- This topic has 1 reply, 2 voices, and was last updated 10 years, 11 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › vLooup for SharePoint › vLookup Get ParentID to use in javascript
Tagged: increment child, parentID, vlookup
I have a vLookup for a parent of “Headings” with children “Steps”. On the new form, I need to find out what the max step number was used and increment it by one.
For example:
1.00 My First Heading
1.01 My First Step
1.02 My Second Step
When I click Add New Child, I need it to set the step number to “1.03” automatically.
My question is, how can I get the parent ID on the new form? (I know how to get the children once I have that using the SharePoint javascript api).
Also, do I need to put the javascript method in the “custom js” tab in DFFS? This is the first time I’m customizing this at the javascript level.
Hi,
I’m not sure I completely understand what you are attempting.
In the parent list, does the “heading and steps” exist in the vLookup column only (pulled from the child list) or is it actual fields in the parent list?
Alexander