1

I am rephrasing my question.

I have login page for Customer Portal Logn. I need to show some messages in the Login page based on the Users Selected language from the drop down, the issue here is all the messages are in a salesforce object and I need to show the messages even before login, I know this sounds a bit weird with out login accessing to the salesforce custom object is not possible. But I felt there might be some other way where some one has did this. Please shower your thoughts.

Thanks, Suri.

1
  • I suggest you move the messages to some JSON - you can use the language code as a field name in the structure - that you store in a public static resource and reference that from your Angular code. Otherwise you are fighting the security mechanisms provided on custom objects. If you want to keep your messages custom object you can write Apex code to build the JSON from that and use the metadata API to update the static resource - example of something similar here.
    – Keith C
    Commented Sep 1, 2015 at 21:07

1 Answer 1

1

Since this is a Customer Portal User Login Page I can do the query on the Custom object and fetch the messages based on the language User selected by a Guest profile Customer Portal User.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .