function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AndrCAndrC 

Custom Objects in Customer Community

Hello,

 

We are starting to use the new Customer Communities (Replacement for Portal).

 

I have a Custom Object that I have made available through the Community.

 

However I want this custom object to only be visible to Customers beloning to the same account.

 

Ideally I would like it to work like Cases does, where when a Customer creates a new case,

the cases  Account lookup field is automatically set to be the same account as the Customer.

 

Will I need to create some sort of trigger for this? Or can it be done without code?

 

Thank you,

 

Andrew

Deepak Kumar ShyoranDeepak Kumar Shyoran

Hi Andrew,

 

If you only want to update the field for all user without much more restriction  then I suggest you to go throw with the workflow by using field update event of it but as your recruitment is to restrict some user for doing this action then it is preferable to write a trigger for it.

 

 

If this post helps you then hit kudus by clicking on star and accept my post as a solution to your question.