More in this section

Forums / Developing with Sitefinity / Sitefinity Modules as a Relational DB

Sitefinity Modules as a Relational DB

2 posts, 0 answered
  1. Dave
    Dave avatar
    2 posts
    20 Apr 2015
    20 Apr 2015
    Link to this post

    Hi, can I run something past you please? 

    Say I want to develop a Sitefinity site that has, say, a "Employee" module where employees details can be stored. And then I want to have an ExpenseClaims module where expense claims can be added...

    I can obviously link ExpenseClaim to Employee using RelatedData, so when a claim is entered, the relevant Employee is selected. But is there an easy way to present this related data to the user, either on a SF page or in the backend please? 

    So, for example, can I look at all the ExpenseClaims in the backend and see the Employee each is attached to? Or, I can make a easily make a Widget where the Employees details are displayed plus a list of their ExpenseClaims?

    I'm just struggling to see how I can easily see this link at design and runtime. 

    Any pointer in the right direction would be appreciated.  Cheers, Dave.

  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    06 Sep 2017
    23 Apr 2015
    Link to this post
    Hi Dave,

    You can add the Employee/s as related filed in the ExpenseClaim Content Item than to display them on the frontend if needed. Both could be created by Module Builder.

    More information is available in the following articles:
    - Content relations: Related data
    Dynamic modules and the Module Builder

    Svetoslav Manchev
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered