• vinod Sanubala
  • NEWBIE
  • 9 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 4
    Replies
Hi Team,
would you be able to help with 

make formula l field mandatory when custom button is clicked

Thanks,
Vinod
I  have picklist field called "Novated_opportunity__c", when 'yes' is selected, need to hide "Outline_of_the_Novated_opportunity__c"

I am using below script, no error's however no result.

<apex:page standardController = "Pricing_Request__c" showHeader="true" >
    <apex:form>
        <apex:outputPanel id="t1">
            <apex:pageBlock>
                <apex:pageBlockSection title="Novated leases">
                    <apex:inputField value="{!Pricing_Request__c.Novated_opportunity__c}" >
                    
                        <apex:actionSupport event="onchange" rerender="t1" />
                    </apex:inputField>
                </apex:pageBlockSection>
                
                <apex:pageBlockSection title="Novated leases">
                    <apex:inputField value="{!Pricing_Request__c.Outline_of_the_Novated_opportunity__c}" rendered="{!IF( Pricing_Request__c.Novated_opportunity__c == 'Yes', true, false )}" >
                        <apex:actionSupport event="onchange" rerender="t1" />
                    </apex:inputField>
                    
                </apex:pageBlockSection>
            </apex:pageBlock> 
        </apex:outputPanel>
    </apex:form>
</apex:page>


Thanks,
Vinod
Hi Al,

I am trying the module in TrailHead, "Get Started with Apex" from Developer Beginner

I have built below code, its working as expected, however I am getting error:
public class StringArrayTest {
    public static void generateStringArray(Integer counts){
        
        list <integer> results = new list<integer>(counts);
               
        for(Integer i=0; i< results.size(); i++)
         {           
            system.debug('Test '+i);
        }
        
    }
         
}


Error Message:

Challenge not yet complete... here's what's wrong:
Executing the 'generateStringArray' method failed. Either the method does not exist, is not static, or does not return the proper number of strings.


Thanks in advance.

Cheers,
Vinod
Hi All,

Thanks in Advance for helping :)


There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Update Contact mailing address new” process failed. Give your Salesforce admin these details. <b>An unhandled fault has occurred in this flow</b><br>An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Error ID: 1538890866-45986 (-1051971408): []
Hi Team,
would you be able to help with 

make formula l field mandatory when custom button is clicked

Thanks,
Vinod
I  have picklist field called "Novated_opportunity__c", when 'yes' is selected, need to hide "Outline_of_the_Novated_opportunity__c"

I am using below script, no error's however no result.

<apex:page standardController = "Pricing_Request__c" showHeader="true" >
    <apex:form>
        <apex:outputPanel id="t1">
            <apex:pageBlock>
                <apex:pageBlockSection title="Novated leases">
                    <apex:inputField value="{!Pricing_Request__c.Novated_opportunity__c}" >
                    
                        <apex:actionSupport event="onchange" rerender="t1" />
                    </apex:inputField>
                </apex:pageBlockSection>
                
                <apex:pageBlockSection title="Novated leases">
                    <apex:inputField value="{!Pricing_Request__c.Outline_of_the_Novated_opportunity__c}" rendered="{!IF( Pricing_Request__c.Novated_opportunity__c == 'Yes', true, false )}" >
                        <apex:actionSupport event="onchange" rerender="t1" />
                    </apex:inputField>
                    
                </apex:pageBlockSection>
            </apex:pageBlock> 
        </apex:outputPanel>
    </apex:form>
</apex:page>


Thanks,
Vinod
Hi Al,

I am trying the module in TrailHead, "Get Started with Apex" from Developer Beginner

I have built below code, its working as expected, however I am getting error:
public class StringArrayTest {
    public static void generateStringArray(Integer counts){
        
        list <integer> results = new list<integer>(counts);
               
        for(Integer i=0; i< results.size(); i++)
         {           
            system.debug('Test '+i);
        }
        
    }
         
}


Error Message:

Challenge not yet complete... here's what's wrong:
Executing the 'generateStringArray' method failed. Either the method does not exist, is not static, or does not return the proper number of strings.


Thanks in advance.

Cheers,
Vinod
Hi All,

Thanks in Advance for helping :)


There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, We can't save this record because the “Update Contact mailing address new” process failed. Give your Salesforce admin these details. <b>An unhandled fault has occurred in this flow</b><br>An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information. Error ID: 1538890866-45986 (-1051971408): []