• Alexander Charles Gilfellon
  • NEWBIE
  • 5 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 8
    Replies
In my instance, on a contact record, I have included a visual force component which has a button and the javascript code. Upon clicking on the button, the javascript methods are called and fields are updated on the record detail page as soon as the page reloads. This functionality is working perfectly on my computer (safesforce classic), but when I try the same from a mobile web browser or salesforce 1, the update operation is not working. I have put an alert after the update operation to verify this. The following is the update and refresh command I have used along with the alert in the middle.  
sforce.connection.update([c]); // update operation happening here
alert('Final Updated Record'+c.Id); // alert operation
window.top.location.href='/'+c.Id; //full page is refreshed to reflect the updated fields in the record detail page
Also is it possible to find out if a user is accessing the record from a mobile device? I think that might come in handy if the update operation code is different for a mobile device.

Thanks in advance. 
 
I have written a trigger which calls methods in a class. It was functioning fine. Next day when I check the same trigger, I get the following issue: Invalid api version:0.0. And it won't save after I update the trigger. I want to know why this happens and how can I solve my issue. 
Hi, i am new to salesforce, i created 6 custom objects based on one package, i cloned data from previous object to newly created object. Now the problem is client wants to create report for comparing data, how can i achieve this?? and what type of report i need to create.
6custom objects having one parent object and remaining are childs to that object. any solution?
I am creating an action of assigning a task on a particular object using process builder , but the task is not being displayed in the "open activities" related list in the record detail page of that particular object after activating the process , what could be the reason for this?

Thanks 
I'm looking for a salesforce partner that has experience in cloning salesforce instances. Currently, we have 1 organization with 3 users. We want to split the organization into 3 different organizations and one user per organization but maintain all custom objects, fields etc. 

The manner in which we would decide which Data goes with which organization is easy enough as we have an ownerid to tie the object/contact/account/company to the user. 

I would consider doing this myself but unsure of the process. 

Any ideas/suggestions?
Thanks
<apex:page standardController="Contact"  sidebar="false" >
  <apex:form >
    <apex:pageBlock title="Edit Contact">
      <apex:pageBlockSection columns="1">
         <apex:inputField value="{!Contact.FirstName}"/>
         <apex:inputField  value="{!Contact.LastName}"/>
         <apex:inputField value="{!Contact.Email}"/>
         <apex:inputField value="{!Contact.Birthdate}"/>
         <apex:inputField type="number" value="{!Contact.Phone}"/>
      </apex:pageBlockSection>

      
    <apex:pageBlockButtons >
         <apex:commandButton action="{!save}" value="Save"/>
    </apex:pageBlockButtons>
   
    </apex:pageBlock>
  
   </apex:form>
  
</apex:page>

I want to validate the phone field that it should have 10 digits only and last name should have text only so how to use extension . 
Not getting way to do it . 
Please help 
I have written a trigger which calls methods in a class. It was functioning fine. Next day when I check the same trigger, I get the following issue: Invalid api version:0.0. And it won't save after I update the trigger. I want to know why this happens and how can I solve my issue. 
What are Pillars in salesforce and how are they used in reporting and dashboarding ?

I created the code below to display an image - I use this as a visualforce element on a page layout.  

 

<apex:page standardController="Carrier__c" >
<img src="{!$Resource.SafecoMap}" width="772" height="496"/>,
</apex:page>

 

What I need to do is add logic to display the correct image depending on the name of the record so something like:

 

<apex:page standardController="Carrier__c" >

IF Carrier__c.Name="Safeco", <img src="{!$Resource.SafecoMap}" width="772" height="496"/>,

IF Carrier__c.Name=...

</apex:page>

 

This way I can display the appropriate image for each carrier record.  Does anyone know the correct syntax to accomplish this?