Skip to main content

Hey all - just started playing around with Lightning and have a question someone could probably answer quickly for me. I have a custom object (called Property); and each one of the properties we make reservations for has a page. As I am downloading/testing and creating a new layout with lightning components I'm beginning to realize they are universal. For example - the rich text component is one standard component that displays on ALL property pages. In a perfect world I would like to have the rich text component = something specific for that one record (one property page; ie: Sagamore would say 'Opening April', but Delray Sands would say 'Renovations starting 1/30'. I'm finding that a lot of the components/apps on the exchange aren't able to reference specific fields in a property; other examples include calendar showing all events when I want it to reference only events related to the property I am viewing. Is this the case with all lightning objects, or should I be looking elsewhere? Basically components that reference fields rather than 1 universal object is what I'm looking for. Thanks for any advice/guidance!

2 commenti
  1. 28 feb 2018, 18:34

    Alternatively, you can also go a more custom development route that creates a component on a page but utilizes data from the page to take actions on what to display or what users can or cannot interact with.

    The component itself can also be setup with design attributes that control appearance and functionality (look/feel) based on attributes setup on the page. For example, one page in lightning builder could display a component with Kanban information but the same component on a different page can display as a list. The power of design attributes is that with a few clicks, you can leverage the same components in multiple ways. Unfortunately, you need someone with lightning development experience to build your component.

0/9000