• Vincent Charlet (FR)
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies
 Hello,

i have a VisualForce Page on a public site writing Lead with a Javascrit Remote Object class
<!-- Remote Objects declaration -->
<apex:remoteObjects jsNamespace="RemoteObjectModel">
  <apex:remoteObjectModel name="Lead" fields="Salutation,FirstName,LastName,Phone,MobilePhone,Street,PostalCode,City,LeadSource">
  </apex:remoteObjectModel>
</apex:remoteObjects>


The page works fine and leads are created
but after at least 12h, the create method return an error "Controller not found for JavaScriptSObjectBaseController" !!
(close and re-open the page not work)

The page use HTML5 cache manifest technology (for offline purpose)
Never notice the error on desktop browser but on IPAD with Safari

if i update the cache manifest or delete the ipad site cache, the page works well again .... for 12 hour more ....

any ideas or workaround ?!




 
 Hello,

i have a VisualForce Page on a public site writing Lead with a Javascrit Remote Object class
<!-- Remote Objects declaration -->
<apex:remoteObjects jsNamespace="RemoteObjectModel">
  <apex:remoteObjectModel name="Lead" fields="Salutation,FirstName,LastName,Phone,MobilePhone,Street,PostalCode,City,LeadSource">
  </apex:remoteObjectModel>
</apex:remoteObjects>


The page works fine and leads are created
but after at least 12h, the create method return an error "Controller not found for JavaScriptSObjectBaseController" !!
(close and re-open the page not work)

The page use HTML5 cache manifest technology (for offline purpose)
Never notice the error on desktop browser but on IPAD with Safari

if i update the cache manifest or delete the ipad site cache, the page works well again .... for 12 hour more ....

any ideas or workaround ?!




 

Hello,

 

I have a Picklist in which one of the fields is "Error". On a user changing form fields and choosing to choose a different picklist value I want a validation rule to check the previous value of the picklist field and to only allow certain values to be picked if previously at "Error".  I have tried the following.

 

OR(AND(PRIORVALUE(Request_Status__c)='Error' , Request_Status__c<>'Draft Request'),AND(PRIORVALUE(Request_Status__c)='Error' , Request_Status__c<>'Endorse'))

 

I receive an error as follows:

Error: Field Request_Status__c is a picklist field. Picklist fields are only supported in certain functions. Tell me more

 

The "Tell me More" link brings me to teh following article  https://avaya--c4rdev.cs12.my.salesforce.com/help/doc/user_ed.jsp?loc=help&target=tips_on_building_formulas.htm%23picklists_and_msps&section=Customizing

 

In which it states "

  • PRIORVALUE(Only in assignment rules, validation rules, workflow field updates, and workflow rules in which the trigger type is set to Every time a record is created or edited)"

I do want this to run though every time an edit occurs though so figured it should work.

 

Does anyone happen to know from looking at the above what I may be doing wrong and a way to get around this?

 

Thanks in advance.