Question

Creating a master detail with this relationship:

Parent (1) ---> Child(0 or 1)

The details page shows the child record greyed out.

I realise this is because Lightswitch doesn't know if it should create a record.

When trying to add an existing method, "Add/Edit Child" is not available.

Question is, what javascript code do I put in a button to create the child record?

Or is there another way to do this with maintaining this relationship structure?

Was it helpful?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top