record actions

Certified Associate Developer

Hello,

I put you in context. I have a related data model and there are student and grade entities. These entities are related by a record.

The problem I have is that I want to create a new grade through a related action and automatically assign it to the student.

I can't do this because in the related actions list you cannot pass the id of the student to which the created grade will belong as a parameter.


Any ideas to pass the student id to a related action?

number is the student id

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to Stefan Helzle

    Hello ,

    It is exactly as you say, there are actions related to context and actions without context that are used for the record in a general way, without a context.

    In my approach, what I want to do is have a set of related records and when creating a new record value (eg: Grade), I want to include the associated student in the creation, for example.

    I already understood that I can do this from the student record, in fact I already solved it, but I'm curious to know if it could be done in the way I propose. Create a grade and associate a student who passed by parameter.

Children