Custom Module Interface Trouble

Delford Chaffin asked on October 23, 2015 18:12

I'm trying to create the interface for my custom module. I have a Contact and a Guest class and a binding class for them. I created the interface per the example here:

https://docs.kentico.com/display/K82/Creating+custom+binding+classes#Creatingcustombindingclasses-Buildingabindingmanagementinterface

But now, I've taken the Edit Bindings template and duplicated it to further customize it. I want to add the Edit web part below the Edit Bindings web part. When I do, the Edit web part takes on the Contact type presumably from the context. I open the properties for the web part and specify Guest under Object type, but it does not make the change.

From the documentation popup: "Object type for edit. If '(default)' is set, object type is got from context."

However, selecting the object type I want seems to have no effect. I've cleared the cache and restarted the application. What else should I be doing?

Thanks!

Recent Answers


Brenden Kehren answered on October 26, 2015 20:02

If I remember right on the "edit" element I had to add the objectid (fieldname with parent primary key) in as a parameter and then in the grid, set that as a where clause.

Image Text

Image Text

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.