• shrish mysore
  • 0 Points
  • Member since 2016

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 3
I tried with this peace of code, whenever i change value alert appears but even reloading the page alert appears which shouldn't. How to skip alert on reloading the page.

<apex:page standardController="Case" rendered="{!Case.Stage__c = 'Pending'}">
<script type="text/javascript">
window.alert("Static Content");

Also i tried in putting stage condition in action attribute but it is throwing Content cannot be displayed: SObject row was retrieved via SOQL without querying the requested field: Case.Stage__c [No Apex class associated to this page]
<apex:page standardController="Case" Action="{!Case.Stage__c = 'Pending'}">
<script type="text/javascript">
window.alert("Static Content");

I have below JSON ,How can I send in my request using apex:

, "type":"Account"
Does salesforce lock Account Record when user try to update/create following child objects -


    Opportunity Line Item (Does sfdc lock opportunity here as well?)



    OpportunityTeamMember (Does sfdc lock opportunity here as well?)

Is this applicable to only Master Detail relationships ? (Not Lookups)