• Kamatchi Devi Sargunanathan
  • SMARTIE
  • 1041 Points
  • Member since 2013
  • Application Architect
  • MST Solutions


  • Chatter
    Feed
  • 30
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 16
    Questions
  • 260
    Replies
Hi All, 

I am facing one issue as mentioned below, 
  • Custom Object is queried with fields in it along with some parent fields and also sub query. But when I am returning the result in the debug log I could see only fields related to the custom object only returned in the results.
  • Due to this, if I add the same list in to any wrapper or passing it to a map it was showing only those values displayed when I try printing it in a VF page.
Appreciate your help!

Thanks, 
Kamatchi Devi Sargunanathan
Hi All, 

I have the following error showing in the apex jobs that I was runnig in to the batch process. But the status shows as completed. I need to know what might be the issues was. I do not use any substring in this batch class and I have only the list collection and updating the lists.
 

2/28/2018 1:00 AM
Batch ApexCompletedFirst error: Ending position out of bounds: -11,5111,5110Persson, Philip2/28/2018 2:21 AMAccountUpdateWithStuCollecBatch_AC
 
Any help would be greatly appreciated!
 
Hi All, 

I would like to know if there is a possibility to deploy the process builder with active status in any way of deployment?. Currently I am facing the issue like is it was deployed through Ant migration tool with inactive status. So, I have to manually activate it after deployment.

Thanks in Advance!
Hi Can some one explain me how to use two components with Lightning Data Service, i tried the following code for accDisplay and accEdit.
This worked as i expected but i got the following error!

I am missing some thing, can some one explain me how LDS works with multiple componets!
 
Challenge Not yet complete... here's what's wrong: 
The 'accDisplay' Lightning Component does not appear to be displaying the 'Name' using 'ui:outputText' and the value 'v.accountRecord.Name
 
<!--accDisplay component-->
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId">
 <aura:attribute name="accountRecord" type="Object" />
<force:recordData aura:id="AccountRecordCreator"
    recordId="{!v.recordId}"
    layoutType="FULL"
    targetRecord="{!v.accountRecord}"
    targetFields="{!v.simpleNewAccount}"
    targetError="{!v.newContactError}"
                  mode="VIEW"
    />
   



    <!-- Display a header with details about the record -->
    <div class="slds-form--stacked">
        <div class="slds-form-element">
            <label class="slds-form-element__label" for="recordName">Name: </label>
            <div class="slds-form-element__control">
              <ui:outputText class="slds-input" aura:id="recordName"
                value="{!v.simpleNewAccount.Name}" />
            </div>
            <label class="slds-form-element__label" for="recordIndustry">Industry: </label>
            <div class="slds-form-element__control">
              <ui:outputText class="slds-input" aura:id="recordIndustry"
                value="{!v.simpleNewAccount.Industry}" />
            </div>
             <label class="slds-form-element__label" for="recordDescription">Description: </label>
            <div class="slds-form-element__control">
              <ui:outputTextArea class="slds-input" aura:id="recordDescription"
                value="{!v.simpleNewAccount.Description}" />
            </div>
             <label class="slds-form-element__label" for="recordPhone">Phone: </label>
            <div class="slds-form-element__control">
              <ui:outputPhone class="slds-input" aura:id="recordPhone"
                value="{!v.simpleNewAccount.Phone}" />
            </div>
        </div>
    </div>

   

   
</aura:component>
<!--accEdit-->
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId">

<aura:attribute name="accountRecord" type="Object"/>
<aura:attribute name="simpleNewAccount" type="Object"/>
<aura:attribute name="newContactError" type="String"/>

<force:recordData aura:id="AccountRecordCreator"
    recordId="{!v.recordId}"
    layoutType="FULL"
    targetRecord="{!v.accountRecord}"
    targetFields="{!v.simpleNewAccount}"
    targetError="{!v.newContactError}"
                  mode="EDIT"
    />
   
    <ui:outputText class="slds-output" 
                value="Edit Account" />
     <lightning:input aura:id="recordName" name="accountRecord" label="Name"
                  value="{!v.simpleNewAccount.Name}" />

     <lightning:button label="Save Account" onclick="{!c.handleSaveRecord}"
               variant="brand" class="slds-m-top--medium"/>
</aura:component>

 
Hi All, 

I was searching for an option to open a local folder from salesforce either in one of the following ways,
  • Button
  • Link
  • VF page with output link
But none of this is working and it ends in some script error that was blocking the URL from opening it in browser. Refer the screenshot below,
 Error I faced blocking my folder not to open

VF page code,
<apex:page >
    <html>
        <!--These are the folder path copied from my local system-->
        <a href="file:///C:/Users/MSTEMP194/Desktop/Project/Case/Files">Link 1</a>  
        <a href="file:///C://Users">Link 1</a>
    </html>     
</apex:page>
 
I tried searching for many solutions in blogs and found that file:/// should be used when refer the path from a local system. If I copy this folder path and paste over the browser, its opening. But, I have to open a folder path to my local system from salesforce. Can anyone help me out in solving the issue?. Its Urgent!

Thanks in Advance!
I want to upload the multiple files in the vf page & inserted in the document object. Please help me out buddies.
Hi All,

I have a requirement to avoid overlapping the two number field values with in an object records creation/updation. Following are my Scenarios for preventing overlapping between records,

User-added image

From the above table the two values indicate the minimum and maximum ranges. There we can add a new record with MinRange__c = 101 and MaxRange__c = 200, because didn't overlap any of the other record's min and max value. 

But we should not allow the values MinRange__c = 10 & MaxRange__c = 70 or MinRange__c = 201 & MaxRange__c = 250 and so on, because it will fall under already created records min and max value(Overlaps).

If you see the last row, this has the -1 value as maxrange__c because this is used to indicate the infinity. It this is found in a record, we shouldn't allow another record should be created with MinRange__c > 500

Please anybody help me with a solution for this logic.

Thanks in Advance,
Kamatchi Devi R

Hi,

Iam creating a vf page in that vf page i have a checkbox field when i check the checkbox automatically another vf page should be display as popup in my vf page.
Please help me guys,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Hi All,

I have a requirement that, I need to assign a custom list view to the users whenever they login and check the Lead Object.

Is it possible? Anyone has any idea about this means please help.

Thanks in Advance.
Hi All,

I have a requirement  to share the contents that I have in my library should be automatically shared to the newly created Parner Community user.
Instead of manually sharing the contents with library permission, i need to give permission while the user has created.

If any one have worked on this please help.

Thanks in Advance.
Hi All,

Im in need of modifying the standard salesforce provided email template that is for Communities: New Member Welcome Email, to have some company logo and url for login.

But the problem is this email template is created as Text type template by default in salesforce. So, is there a way to modify the template to have the image in the top.

If anyone have some idea about this please guide me.

Thanks in advance.


Regards,
Kamatchi Devi R

Hi All,

 

I have a requirement to do the javascript in the Onkeyup event on RichTextArea in VF page. But the script am trying to load is working properly in the normal inputtextarea, if i gave richtext="true" then it is not working. Please help me to do this.

 

See the following code,

 

VF page

<apex:page >
<apex:includeScript value="{!$Resource.jquery}"/>

<script type="text/javascript">

function check(f){
alert("f");
}
function check1(f){
alert("f");
}
</script>

<apex:form id="frm1">
<apex:inputtext id="one" onkeyup="return check(this);"/>  //This is not working
<apex:inputtextarea richtext="true" id="e" onkeyup="return check1(this);"/> //This is working
<apex:commandbutton id="n" value="save" disabled="true"/>
</apex:form>

</apex:page>

 

Waiting for the solution.

 

Thanks  in Advance.