IsVisibleInSelfService = true :)

18 Apr

I was working on assignment which required me to access Tasks and show on customer portal. I written the apex code and fired SOQL, but to my surprise none of Tasks were fetched. I thought its a permission issue from profile or sharing access issue.

However at the end I found that there is a field on task object called IsVisibleInSelfService which derives the visibility of the tasks for customer portals. Even Apex code can’t find the task if this boolean field is not set to true.

Probably its trivial information but usefull when you are not aware of this 🙂


Posted by on April 18, 2013 in Home


Tags: , , , , , , , , ,

4 responses to “IsVisibleInSelfService = true :)

  1. SutoCom

    April 30, 2013 at 11:42 am

  2. Steve Carroll

    June 21, 2013 at 3:02 pm

    It’s odd… but every time I set Public to true, it reverts back to false. Does it do this to you by default, or did you do something to prevent that behavior.

    @steves99things on twitter

    • ybhuppi

      June 21, 2013 at 4:35 pm

      It should not revert. Check if any workflow or trigger is setting it back.

      • Steve Carroll

        June 21, 2013 at 4:39 pm

        figured it out — looks like there were some cases where there was no whatId, whoId, or accountId… in these cases it didn’t work as expected. Thanks for the feedback!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: