locked
Recrod count RRS feed

  • Question

  • Hi

    I am having one entity called as Users in that how many users registers count  i want it.

    count value i have to pass event entity.

    another enttiy called as event

    can any one suggest on this

    -Regards,

     Ammiti.


    Rammohan

    Tuesday, February 4, 2014 1:09 PM

All replies

  • Hi Rammohan,

    Create an entity event. Create another entity Users. Create another entity user registration. Create 1:N relationship between event and users. Create 1:N relationship between user and user registration. Also create 1:N relationship between user registration and event. Now add a field in the event entity called Number of Users Registered. Now you need to write a plugin which will increment the value of the field Number of Users Registered whenever you create a User registration record with an user and event in the lookup of the user registration record.

     


    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful" Thank you, DT

    Tuesday, February 4, 2014 2:18 PM
  • Hi Dibyasingh,

    can you provide the plug-in code.. pls


    Rammohan

    Tuesday, February 4, 2014 3:01 PM
  • Sunday, February 9, 2014 6:31 PM