-
ChatterFeed
-
9Best Answers
-
1Likes Received
-
1Likes Given
-
19Questions
-
155Replies
How to Calculate the number of managers above user?
Basically, I would like a field on the user object that indicate the manager level.
Example:
If the user’s “manager field” = null, then Level 1
If the user’s manager’s “manager field” = null, then Level 2
If the user’s manager’s manager’s “manager field” = null, then Level 3
Etc.
Else “Level 5”.
A daily trigger should set this value for each user records.
Does any body have an idea if it’s possible? Big or medium task?
-
- Allan Lorentzen 6
- April 28, 2016
- Like
- 0
- Continue reading or reply
Restricting Process Builder workflows to execute for certain profiles
-
- Adam Thurman
- February 04, 2016
- Like
- 0
- Continue reading or reply
Count cases on custom object
Looking for some assistance with a trigger that would be used to count the total number of cases that are listed on a custom object we've built. Trucks_Under_Warranty__c is the custom object we have built.
Under Cases we have the field "Truck Under Warranty__c" which is a lookup(Trucks Under Warranty) Indexed and its controlling field is Account Name. Gets a little confusing for the "Truck/Trucks" in the field names.
The field used to hold the count is named Case Count (Case_Count__c). I could use some direction on the trigger due to it being on this custom object. We're wanting a way to designate if a truck is problematic or not based upon how many cases are generated under it.
I had been trying to look at a snippit of code someone posted for counting cases on an contact to understand it and translate it to our ORG
trigger tskUpdatetrigger on Case (after insert, after update,after delete) { List<Case> lstCase = [select id, ContactId from Case where id in: trigger.newmap.keyset()]; set<Id> sAccId = new set<Id>(); for(Case cs: lstCase){ if(cs.ContactId != null){ sAccId.add(cs.ContactId); } } if(sAccId != null && sAccId.size() > 0){ List<Contact> lstContact = [select id, Cases__c, (select id from Cases) from Contact where id in: sAccId]; if(lstContact.size() > 0){ for(Contact acc: lstContact){ acc.Cases__c = acc.Cases.size(); } update lstContact; } } }
But i'm not sure what to change "ContactId" to and it work with our custom object. I've also tried to read through sfdcfox's example ( https://developer.salesforce.com/forums/?id=906F00000008zIxIAI ) but it is still a little out of my apex knowledge base.
TLDR: Would love some help with writing a trigger to count the number of cases on a custom object
-
- Smike25
- February 04, 2016
- Like
- 0
- Continue reading or reply
Creating NPV and IRR fields using Apex
-
- Catie Leising
- September 30, 2015
- Like
- 0
- Continue reading or reply
When is the default Opportunity team added to the Opportunity
1. looks up the current user's default opp team whose member role equals 'Primary SE'
2. populates a custom field on the op with that user
I can get most of it with my current process/flow, but there seems to be an issue. The issue being that no matter who I login as, the name is being populated with my 'Primary SE'.
1. Do I need to be looking up the current user id or is the op id sufficient?
2. When is the default op team assigned to an op? At creation or when the record is saved?
-
- Eric Blaxton
- September 17, 2015
- Like
- 0
- Continue reading or reply
Retrieving contacts from a specific contact list view
Thank you very much
-
- Stephane Nachez
- September 15, 2015
- Like
- 0
- Continue reading or reply
Visualforce Related list on Account
I have the following but it gives me this error: Content cannot be displayed: 'HLContracts__r' is not a valid child relationship name for entity Account
This is the code I have:
<apex:page standardController="Account">
<apex:relatedList list="HLContracts__r" />
</apex:page>
-
- Lisa Horne
- August 25, 2015
- Like
- 0
- Continue reading or reply
Confused Test Class Newbie needs help.
I am trying to deploy my trigger but I need to compose a test class and to be quite honest I am clueless and aloof at my begining stages of Apex-ing' . Could someone here please provide me with a little guidence, code perhaps and maybe addition educational documentation to make sense of this all so I can continue my journey to be half as great as many of you here.
Happy Holidays And thank you very much
-Chad
Trigger is here:
trigger Job_Description_Transfer on Job_Contract__c (before update, before insert) {
//create a set of job descriptions
set<Id> Ids = new Set <Id>();
for (Job_Contract__c japp: Trigger.new) {
Ids.add(japp.Related_Job__c); // This is thelookup field to description__c in Job_Contract__c
}
Map<Id, Opportunity> mapDescription = New Map<Id, Opportunity>([SELECT Id, Description FROM Opportunity WHERE Id IN :Ids]);
if(trigger.isUpdate){
for(Job_Contract__c jaTrigger : trigger.new) {
jaTrigger.Job_Description__c = mapDescription.get(jaTrigger.Related_Job__c).Description;
}
}
-
- Chad Davis
- December 27, 2013
- Like
- 0
- Continue reading or reply
Trigger help
Hello!
I am writing a trigger (or trying to ...) that will create X amount of child records on a parent.
Parent - Custom Object: Finance__c
Child - Custom Object: Finance_Payment__c
On the parent is a field called Number_of_payments__c
I want the trigger to (after parent insert) create the same number of children records as indicated in the field Number_of_payments__c.
The only field on the child record that needs to be populated on the initial insert is the payment_number__c (which starts at 1 and ends at :Number_of_payments).
Can someone help me fill in the blanks (and correct mistakes).
I am very new to triggers. Thanks!
trigger Payments on Finance_Payment__c (after insert){ // collect parent id ?
id[] finIds = new Id[0];
// collect number of payments data
Finance__c[] parent;
parent = [SELECT Number_of_payments__c FROM Finance__c WHERE Finance__C IN (ParentID?)];
// iterate through to create child records.
for (Finance_Payment__c f : tigger.new){
// create records using number of payments
insert ?;
}
}
-
- Grrrrrrrrrrrrr
- December 15, 2012
- Like
- 0
- Continue reading or reply
Not able to define sharing set for Community underCommunity Cloud
Not able to define sharing set for Community underCommunity Cloud. After clicking on update Sharing Set. getting blank. Its not working in any browser.
-
- Amul
- January 03, 2018
- Like
- 0
- Continue reading or reply
Getting WSDL Parse Error
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://tempuri.org">
<wsdl:types>
<xs:schema version="1.0">
<xs:annotation>
<xs:appinfo>INDSHL</xs:appinfo>
<xs:documentation xml:lang="en">This is the strategy the wsdl is about</xs:documentation>
</xs:annotation>
<!-- Array data type -->
<xs:simpleType name="DAarray">
<xs:restriction base="xs:string">
<xs:enumeration value="array" />
</xs:restriction>
</xs:simpleType>
<!-- Date data type -->
<xs:complexType name="DAdate">
<xs:all>
<xs:element name="value" type="xs:string" />
<xs:element name="date_format" default="yyyy-MM-dd" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="DDDyyyy" />
<xs:enumeration value="ddMMyyyy" />
<xs:enumeration value="MMddyyyy" />
<xs:enumeration value="yyyy-MM-dd" />
<xs:enumeration value="yyyyDDD" />
<xs:enumeration value="yyyyddMM" />
<xs:enumeration value="yyyyMMdd" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:all>
</xs:complexType>
<!-- Numeric data type -->
<xs:complexType name="DAnumeric">
<xs:all>
<xs:element name="value" type="xs:decimal" />
</xs:all>
</xs:complexType>
<!-- String data type -->
<xs:complexType name="DAstring">
<xs:all>
<xs:element name="value" type="xs:string" />
</xs:all>
</xs:complexType>
<!-- DAXMLDocument element -->
<xs:element name="DAXMLDocument">
<xs:complexType>
<xs:all>
<!-- OCONTROL data source -->
<xs:element name="OCONTROL">
<xs:complexType>
<xs:all>
<xs:element name="ALIAS" type="xs:string" />
<xs:element name="SIGNATURE" type="xs:string" />
<xs:element name="DALOGLEVEL" minOccurs="0" type="xs:decimal" />
<xs:element name="EDITION" minOccurs="0" type="xs:decimal" />
<xs:element name="OBJECTIVE" minOccurs="0" type="xs:string" />
<xs:element name="EDITIONDATE" minOccurs="0" type="xs:date" />
<xs:element name="ERRORCODE" minOccurs="0" type="xs:string" />
<xs:element name="ERRORMSG" minOccurs="0" type="xs:string" />
<xs:element name="APPLICATION_ID" type="xs:string" />
</xs:all>
</xs:complexType>
</xs:element>
<!-- CAMIN data source -->
<xs:element minOccurs="0" name="CAMIN">
<xs:complexType>
<xs:all>
<xs:element name="LONUCD001" type="xs:string" nillable="true" />
<xs:element name="CACOCD002" type="xs:string" nillable="true" />
<xs:element name="APINCD003" type="xs:decimal" nillable="true" />
<xs:element name="AGE1CD004" type="xs:decimal" nillable="true" />
<xs:element name="APLACD005" type="xs:decimal" nillable="true" />
<xs:element name="DSCRCD006" type="xs:decimal" nillable="true" />
<xs:element name="FOIRCD007" type="xs:decimal" nillable="true" />
<xs:element name="LA01CD008" type="xs:decimal" nillable="true" />
<xs:element name="LA02CD009" type="xs:decimal" nillable="true" />
<xs:element name="LA03CD010" type="xs:decimal" nillable="true" />
<xs:element name="LA04CD011" type="xs:decimal" nillable="true" />
<xs:element name="LA05CD012" type="xs:decimal" nillable="true" />
<xs:element name="LA06CD013" type="xs:decimal" nillable="true" />
<xs:element name="LTV1CD014" type="xs:decimal" nillable="true" />
<xs:element name="OCSTCD015" type="xs:decimal" nillable="true" />
<xs:element name="PROFCD016" type="xs:string" nillable="true" />
<xs:element name="RAHICD017" type="xs:decimal" nillable="true" />
<xs:element name="INSOCD018" type="xs:decimal" nillable="true" />
</xs:all>
</xs:complexType>
</xs:element>
<!-- CAMOUT data source -->
<xs:element minOccurs="0" name="CAMOUT">
<xs:complexType>
<xs:all>
<xs:element name="GEORISKRANKING" type="xs:decimal" nillable="true" />
<xs:element name="EXISTINGACTIVELOANS" type="xs:decimal" nillable="true" />
<xs:element name="APPSCORE" type="xs:decimal" nillable="true" />
<xs:element name="SCORECARDDECISION" type="xs:string" nillable="true" />
<xs:element name="SCORECARDVALUE">
<xs:complexType>
<xs:all>
<xs:element name="data_type" type="DAarray" />
<xs:element name="I1" type="xs:decimal" nillable="true" />
<xs:element name="I2" type="xs:decimal" nillable="true" />
<xs:element name="I3" type="xs:decimal" nillable="true" />
<xs:element name="I4" type="xs:decimal" nillable="true" />
<xs:element name="I5" type="xs:decimal" nillable="true" />
<xs:element name="I6" type="xs:decimal" nillable="true" />
<xs:element name="I7" type="xs:decimal" nillable="true" />
<xs:element name="I8" type="xs:decimal" nillable="true" />
<xs:element name="I9" type="xs:decimal" nillable="true" />
<xs:element name="I10" type="xs:decimal" nillable="true" />
<xs:element name="I11" type="xs:decimal" nillable="true" />
<xs:element name="I12" type="xs:decimal" nillable="true" />
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name="SCORECARDADVERSEREASONCODE">
<xs:complexType>
<xs:all>
<xs:element name="data_type" type="DAarray" />
<xs:element name="I1" type="xs:string" nillable="true" />
<xs:element name="I2" type="xs:string" nillable="true" />
<xs:element name="I3" type="xs:string" nillable="true" />
<xs:element name="I4" type="xs:string" nillable="true" />
<xs:element name="I5" type="xs:string" nillable="true" />
<xs:element name="I6" type="xs:string" nillable="true" />
<xs:element name="I7" type="xs:string" nillable="true" />
<xs:element name="I8" type="xs:string" nillable="true" />
<xs:element name="I9" type="xs:string" nillable="true" />
<xs:element name="I10" type="xs:string" nillable="true" />
<xs:element name="I11" type="xs:string" nillable="true" />
<xs:element name="I12" type="xs:string" nillable="true" />
</xs:all>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="QueryDARequest">
<wsdl:part name="queryDA" element="DAXMLDocument" />
</wsdl:message>
<wsdl:message name="QueryDAResponse">
<wsdl:part name="responseDA" element="DAXMLDocument" />
</wsdl:message>
<wsdl:portType name="QueryDA">
<wsdl:operation name="queryDA">
<wsdl:input message="tns:QueryDARequest" />
<wsdl:output message="tns:QueryDAResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="QueryDASoap" type="tns:QueryDA">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="queryDA">
<soap:operation soapAction="" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="QueryDAService">
<wsdl:port name="QueryDASoap" binding="tns:QueryDASoap">
<soap:address location="https://indiacert.pcomanagedservice.com/DAService" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
getting following error
Error: Failed to parse wsdl: Parse error: Found invalid XML. only whitespace content allowed before start tag and not \ufffd (position: START_DOCUMENT seen \ufffd... @1:1)
Please help
-
- Amul
- November 24, 2016
- Like
- 0
- Continue reading or reply
DATALOAD CLI INTEGRATION FOR SQL SERVER with Salesforce
for which i have created following Database.conf file
<beans>
<bean id="dbDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="sun.jdbc.odbc.JdbcOdbcDriver"/>
<property name="url" value="jdbc:odbc:SQLdsn:@DESKTOP-A1RF5KV:SalesforceDB"/>
<property name="username" value=""/>
<property name="password" value=""/>
</bean>
<bean id="queryLeadAll" class="com.salesforce.dataloader.dao.database.DatabaseConfig" singleton="true">
<property name="sqlConfig" ref="queryLeadAllSql"/>
<property name="dataSource" ref="dbDataSource"/>
</bean>
<bean id="queryAccount" class="com.salesforce.dataloader.dao.database.DatabaseConfig" singleton="true">
<property name="sqlConfig" ref="queryAccountSql"/>
<property name="dataSource" ref="dbDataSource"/>
</bean>
<bean id="insertAccount" class="com.salesforce.dataloader.dao.database.DatabaseConfig" singleton="true">
<property name="sqlConfig" ref="insertAccountSql"/>
<property name="dataSource" ref="dbDataSource"/>
</bean>
<bean id="updateAccount" class="com.salesforce.dataloader.dao.database.DatabaseConfig" singleton="true">
<property name="sqlConfig" ref="updateAccountSql"/>
<property name="dataSource" ref="dbDataSource"/>
</bean>
<bean id="deleteAccountAll" class="com.salesforce.dataloader.dao.database.DatabaseConfig" singleton="true">
<property name="sqlConfig" ref="deleteAccountAllSql"/>
<property name="dataSource" ref="dbDataSource"/>
</bean>
<bean id="queryLeadAllSql" class="com.salesforce.dataloader.dao.database.SqlConfig" singleton="true">
<property name="sqlString">
<value>
SELECT LASTNAME, FIRSTNAME, PHONE, LEADSTATUS, EMAIL, LEADID, COMPANY
FROM dbo.Lead
</value>
</property>
<property name="columnNames">
<list>
<value>lastname</value>
<value>firstname</value>
<value>phone</value>
<value>leadstatus</value>
<value>email</value>
<value>LeadId</value>
<value>company</value>
</list>
</property>
</bean>
<bean id="queryAccountSql" class="com.salesforce.dataloader.dao.database.SqlConfig" singleton="true">
<property name="sqlString">
<value>
SELECT ACCOUNT_NAME, BUSINESS_PHONE, ACCOUNT_EXT_ID, ANNUAL_REVENUE, LAST_UPDATED, ACCOUNT_NUMBER
FROM TableOwner.Accounts
WHERE LAST_UPDATED > @process.lastRunDate@
</value>
</property>
<property name="columnNames">
<list>
<value>account_name</value>
<value>business_phone</value>
<value>account_ext_id</value>
<value>annual_revenue</value>
<value>last_updated</value>
<value>account_number</value>
</list>
</property>
<property name="sqlParams">
<map>
<entry key="process.lastRunDate" value="java.sql.Timestamp"/>
</map>
</property>
</bean>
<bean id="updateAccountSql" class="com.salesforce.dataloader.dao.database.SqlConfig" singleton="true">
<property name="sqlString">
<value>
update TableOwner.Accounts accounts
set accounts.account_name = @account_name@,
accounts.business_phone = @business_phone@,
accounts.sfdc_account_id = @sfdc_account_id@,
accounts.annual_revenue = @annual_revenue@,
accounts.account_number = @account_number@
where
accounts.ACCOUNT_EXT_ID = @account_ext_id@
</value>
</property>
<property name="sqlParams">
<map>
<entry key="account_name" value="java.lang.String"/>
<entry key="business_phone" value="java.lang.String"/>
<entry key="sfdc_account_id" value="java.lang.String"/>
<entry key="annual_revenue" value="java.lang.Double"/>
<entry key="account_ext_id" value="java.lang.String"/>
<entry key="account_number" value="java.lang.String"/>
</map>
</property>
</bean>
<bean id="insertAccountSql" class="com.salesforce.dataloader.dao.database.SqlConfig" singleton="true">
<property name="sqlString">
<value>
INSERT INTO TableOwner.Accounts (
ACCOUNT_NAME, BUSINESS_PHONE, SFDC_ACCOUNT_ID, ANNUAL_REVENUE, ACCOUNT_EXT_ID, ACCOUNT_NUMBER)
VALUES (@account_name@, @business_phone@, @sfdc_account_id@, @annual_revenue@, @account_ext_id@, @account_number@)
</value>
</property>
<property name="sqlParams">
<map>
<entry key="account_name" value="java.lang.String"/>
<entry key="business_phone" value="java.lang.String"/>
<entry key="sfdc_account_id" value="java.lang.String"/>
<entry key="annual_revenue" value="java.lang.Double"/>
<entry key="account_ext_id" value="java.lang.String"/>
<entry key="account_number" value="java.lang.String"/>
</map>
</property>
</bean>
<bean id="deleteAccountAllSql" class="com.salesforce.dataloader.dao.database.SqlConfig" singleton="true">
<property name="sqlString">
<value>
DELETE FROM TableOwner.Accounts
</value>
</property>
</bean>
</beans>
and I have also created Process.conf file
<beans>
<bean id="LeadInsert" class="com.salesforce.dataloader.process.ProcessRunner" singleton="false">
<description>Inserts Lead names from SQL server into Lead object.</description>
<property name="name" value="LeadInsert"/>
<property name="configOverrideMap">
<map>
<entry key="process.encryptionKeyFile" value="C:\Users\abara\Desktop\SQL-DATALOAD CLI\key.txt"/>
<entry key="sfdc.debugMessages" value="false"/>
<entry key="sfdc.debugMessagesFile" value="C:\Users\abara\Desktop\SQL-DATALOAD CLI\csvInsertArtist.log"/>
<entry key="sfdc.endpoint" value="https://login.salesforce.com"/>
<entry key="sfdc.username" value="amulhai@gmail.com"/>
<entry key="sfdc.password" value="575a9df11d375816dee606ecb0ea1c91"/>
<entry key="sfdc.timeoutSecs" value="540"/>
<entry key="sfdc.loadBatchSize" value="1"/>
<entry key="sfdc.externalIdField" value="StakkonForce__Lead_Key__c"/>
<entry key="sfdc.entity" value="Lead"/>
<entry key="process.operation" value="upsert"/>
<entry key="process.mappingFile" value="C:\Users\abara\Desktop\SQL-DATALOAD CLI\leadmap.sdl"/>
<entry key="process.outputError" value="C:\Users\abara\Desktop\SQL-DATALOAD CLI\errorInsertArtist.csv"/>
<entry key="process.outputSuccess" value="C:\Users\abara\Desktop\SQL-DATALOAD CLI\successInsertArtist.csv"/>
<entry key="dataAccess.name" value="queryLeadAll"/>
<entry key="dataAccess.type" value="databaseRead"/>
<entry key="process.initialLastRunDate" value="2007-06-06T00:00:00.000-0800"/>
</map>
</property>
</bean>
</beans>
following is my Mapping file
#Mapping values
#Wed Jul 13 00:17:08 IST 2016
lastname=lastname
firstname=firstname
phone=Phone
leadstatus=Status
email=email
LeadId=StakkonForce__Lead_Key__c
company=Company
I am running following command but getting following error.
C:\Program Files (x86)\salesforce.com\Data Loader\bin>Process.bat "C:\Users\abara\Desktop\SQL-DATALOAD CLI" LeadInsert
Error:
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'sun.jdbc.odbc.JdbcOdbcDriver'
Any idea?
-
- Amul
- September 12, 2016
- Like
- 0
- Continue reading or reply
Dataload CLI for SQL server
Can you please someone share how to integrate Salesforce with SQL server using dataloader CLI (use ODBC connection) .
Please share folder and file structure for the same.
I am able to integrate with csv files and salesforce.
But I wish to integrate using sql server.
-
- Amul
- July 21, 2016
- Like
- 0
- Continue reading or reply
Tab Pannel active Inactive how?
<aura:application > <ltng:require styles="/resource/SLDS100/assets/styles/salesforce-lightning-design-system-ltng.css" /> <ltng:require styles="/resource/SLDS100/assets/styles/salesforce-lightning-design-system-scoped.css" /> <ltng:require styles="/resource/SLDS100/assets/styles/salesforce-lightning-design-system.css" /> <ltng:require scripts="/resource/jquery214" afterScriptsLoaded="{!c.afterScriptsLoaded}"/> <div class="slds-tabs--scoped"> <ul class="slds-tabs--scoped__nav" role="tablist"> <li class="slds-tabs--scoped__item slds-text-heading--label slds-active" title="ALL Accounts" role="presentation"><a class="slds-tabs--scoped__link" href="javascript:void(0);" role="tab" tabindex="0" aria-selected="true" aria-controls="tab-scoped-1" id="tab-scoped-1__item" onclick="selectTab(this);">All Accounts</a></li> <li class="slds-tabs--scoped__item slds-text-heading--label" title="ALL Contacts" role="presentation"><a class="slds-tabs--scoped__link" role="tab" tabindex="-1" aria-selected="false" aria-controls="tab-scoped-2" id="tab-scoped-2__item" onclick="{!c.selectTab}" data="{tab-scoped-3__item}">All Contacts</a></li> <li class="slds-tabs--scoped__item slds-text-heading--label" title="Item Three" role="presentation"><a class="slds-tabs--scoped__link" href="javascript:void(0);" role="tab" tabindex="-1" aria-selected="false" aria-controls="tab-scoped-3" id="tab-scoped-3__item" onclick="{!c.selectTab}" data="{tab-scoped-3__item}">Item Three</a></li> </ul> <div id="tab-scoped-1" class="slds-tabs--scoped__content slds-show" role="tabpanel" aria-labelledby="tab-scoped-1__item"> ALL CONTACTS<c:ContactList /> </div> <div id="tab-scoped-2" class="slds-tabs--scoped__content slds-hide" role="tabpanel" aria-labelledby="tab-scoped-2__item"> ALL ACCOUNTS<c:AccountsList /> </div> <div id="tab-scoped-3" class="slds-tabs--scoped__content slds-hide" role="tabpanel" aria-labelledby="tab-scoped-3__item"> Item Three Content </div> </div> </aura:application>
what i have to write for enabling Tab ? Please share javascript if possible.
-
- Amul
- July 07, 2016
- Like
- 0
- Continue reading or reply
Email attachment converting to html without any content
https://success.salesforce.com/answers?id=90630000000ghJUAAY
https://success.salesforce.com/answers?id=90630000000glg1AAA
https://developer.salesforce.com/forums/?id=906F00000008yyTIAQ
Is there any solution?
-
- Amul
- June 08, 2016
- Like
- 0
- Continue reading or reply
Salesforce Developer/BA Requirement in california(USA)
-
- Amul
- December 04, 2015
- Like
- 0
- Continue reading or reply
PERMANENT POSITION IN NOIDA, INDIA LOCATION. SALESFORCE DEVELOPER PROFILE.Send me your Resume @abaranwal@kloudrac.com and asighal@kloudrac.com
We have following SFDC opening. Please share resume if anyone of you or your friend is interested for this position.
Salesforce
Senior Developer:
2- 4 Years Experience
Team Lead For Salesforce
4-6 Years
Project Lead
6-8 Years
Android
2-8 Years Experience
iOS
2-8 Years Experience
Send me your Resume @abaranwal@kloudrac.com and asighal@kloudrac.com
-
- Amul
- November 16, 2015
- Like
- 0
- Continue reading or reply
Salesforce Sr./Jr. Developer and Contractor/Architect Available Part-time
My company deal in Salesforce customization, development, integration and implementation/designing.
Please let me know if you /company is looking for Salesforce Resources on Part-Time Remotely.
Salesforce Sr./Jr. Developer and Contractor/Architect Available Part-time.
Please contact privately..and send email abaranwal@kloudrac.com
-
- Amul
- November 12, 2015
- Like
- 0
- Continue reading or reply
Post Record File to Chatter Group
https://www.linkedin.com/pulse/post-recordfile-to-chatter-group-amul-baranwal?trk=prof-post
About Post Record File to Chatter Group
Thank you again for choosing our wildly popular app "Post Record File to Chatter Group"! We really appreciate your business.
Features
The purpose of this app to post the file which is available in Attachment section of any Object to chatter Group
Works for any standard or custom objects.
Need not to require download the files from attachment and then post to chatter Group.
You can read more here:
http://amulhai.blogspot.in/2015/08/post-recordfile-to-chatter-group.html
-
- Amul
- August 26, 2015
- Like
- 0
- Continue reading or reply
-
- Amul
- July 04, 2015
- Like
- 0
- Continue reading or reply
Seeking for Creative Designer Part time.
email your CV @ abaranwal@kloudrac.com
-
- Amul
- June 08, 2015
- Like
- 0
- Continue reading or reply
Seeking for Bootstrap UI Designer Part time
email your CV @ abaranwal@kloudrac.com
-
- Amul
- June 08, 2015
- Like
- 0
- Continue reading or reply
override my Opportunity amount value
Currently I am seeing this Amount : This amount is some of my Product Sales Price (Out of box) value.
$79,200.00
but I wanted to have this value as: "RC Annualized GAAP "(Custom Formula Field)
$473,044.00.
I wanted to override my Opportunity Amount(Standard Field)
please help. thanks
-
- Amul
- January 27, 2015
- Like
- 0
- Continue reading or reply
How can we access REST Api build in Salesforce Developer Org into Another SFDC Org
I have written this REST class in SFDC developer Org. And I am able to access this REST callout thorugh workbench.developerforce.com using this URL
REST URL=
/services/apexrest/StakkonForce/v1.0/MYCALL/getAccountRecords
===================================================================================================
//Apex Class:
@RestResource(urlMapping='/v1.0/MYCALL/*')
global without sharing class MyRestWs{
@HttpGet
global static List<Account> getListOfAccount() {
RestRequest request = RestContext.request;
RestResponse response = Restcontext.response;
String operation = request.requestURI.substring(request.requestURI.lastIndexOf('/getAccountRecords')+1);
String resource = operation.split('/').get(0);
list<Account> lstAccount=new list<Account>();
if(resource == 'getAccountRecords') {
lstAccount= [ Select ID, Name, Phone, BillingState from Account limit 100];
}
return lstAccount;
}
}
===========================================================================================
I wanted to Access this above REST call out from different sfdc Developer Org.
Please provide me some sample code And Steps.
Thanks in advance.
-
- Amul
- December 04, 2013
- Like
- 0
- Continue reading or reply
Delete Apex class from production
Can anyone suggest, how ca we delete apex class from production.
please provide step-step process to delete it from prod. through Force.com Eclipse.
-
- Amul
- October 29, 2010
- Like
- 1
- Continue reading or reply
IP Address of Client
How can we extract IP Address of client, who visited our Sites. And This Site is basically developed using VF Page and Controller class. ?
I needed to have information of client machine like, IP Address /IE version/Windows-OS etc.
Please suggest How can I get such information of visitors.
Is there any API calling or what idea behind this?
Like in VB Script or any Scripting Page we can easily get Client IP Address.
-
- Amul
- September 24, 2010
- Like
- 0
- Continue reading or reply
Please Help me for using WebService
-
- Amul
- November 01, 2008
- Like
- 0
- Continue reading or reply
Apex Code for creating Own WEbService
-
- Amul
- November 01, 2008
- Like
- 0
- Continue reading or reply
Delete Apex class from production
Can anyone suggest, how ca we delete apex class from production.
please provide step-step process to delete it from prod. through Force.com Eclipse.
-
- Amul
- October 29, 2010
- Like
- 1
- Continue reading or reply
Lead Conversion for Custom Lead object
- Vrushali Mali 4
- March 27, 2018
- Like
- 0
- Continue reading or reply
In my Visual-force PDF Page table is not breaking properly
please look at my above Image it shows how my page is breaking on my Visualforce PDF page, Here I want my entire 3rd row should go to next page without breaking in the middle.
So please find the code related to above concern:
<table style="font-size:80%;*page-break-inside:avoid*" border="1px" cellpadding="0" cellspacing="0" height="100%" width="100%">
- vinod kumar 364
- March 27, 2018
- Like
- 0
- Continue reading or reply
overriding a button Clone on opportunity
I have below use case to execute.
I have a standard button on opportunity, to clone with and without products.
I want to add an option to this clone button. like do XYZ, if user chooses this XYZ, it will execute few actions. if they choose the standard options, it remains the same.
Thank you for suggestions !
- Marilyne P
- March 27, 2018
- Like
- 0
- Continue reading or reply
Only set days counter to count when case is in a certain status
We want the "Days Open" counter to only count when the case is in "Open" status. Then for the counter to stop when it's moved to "Pending" and then start up again if moved back to "Open" and finally when the case is "Closed" to leave the counter in the final number. Meaning if the case is in open for 5 days, the days open counter says 5; then if I move it to pending it stays at 5 and then if I move it back to open for 3 more days, it would say 8. Then when I close the case, the counter still says 8. Any guidance at all would be appreciated and please let me know if I need to clarify anything further!
- Giorgos Losoff
- March 26, 2018
- Like
- 0
- Continue reading or reply
Not able to define sharing set for Community underCommunity Cloud
Not able to define sharing set for Community underCommunity Cloud. After clicking on update Sharing Set. getting blank. Its not working in any browser.
- Amul
- January 03, 2018
- Like
- 0
- Continue reading or reply
Hiring Salesforce Administrator in Singapore
About HNWI Private Limited
You Deliver, We Grow
As a wealth consultancy firm in Singapore, we have been serving our clients with bespoke wealth solutions since 2012.
Our Mission
We strive to improve the quality of life of our clients, employees, communities and shareholders.
Our Vision
We aim to be one of the most respected firms in Asia, delighting our corporate and private clients.
Our Core Values
Integrity
Respect
Open communication
Teamwork
Results Driven
Creating Positive and Sustainable Impact
For more information about us, please visit our website.
www.hnwi.com.sg
www.facebook.com/hnwi.com.sg/
Job responsibilities
Our Marketing Services department uses Salesforce Sales Cloud Spring 2017 Enterprise version and plug-in Apps from Salesforce AppExchange, e.g. Vision-e Scan, MailChimp, Eventbrite, etc, as the marketing automation solution i.e. automating the processes on lead generation, lead management, event management, etc
Collect and document requirements and processes from users
Analyze user requirements and issues
Scoping, planning, development, implementation, managing, configuration, testing, maintenance, administration, enhancement and integration of Salesforce and related applications
Create and customize standard and custom objects including fields, page layouts, security rules, workflow, validation rules, automated alerts, email generation, processes, queries, etc
create new users, customize, implement and maintain user, profiles, security settings, roles, data sharing rules, assignment rules, license types, permission sets, etc
Improve data security
Assess training needs; develop, maintain and enhance training materials and user documentation e.g. processes, policies, application configuration
Provide training to end users
User and technical support; trouble shooting
Database management e.g. list acquisition, importing and exporting data, list unsubscribes, data organization, storage and backup
Ensure data quality and integrity through de-duplication, standardization, verification
Design, develop and maintain dashboards and reports e.g. campaign performance measurement (contribution to pipeline and revenue), customer-level analysis, segmentation analysis and customer profiling analysis
Complying Salesforce governance guidelines
Auditing user practices to ensure compliance
Managing relationship with vendors and service providers on Salesforce-related matters e.g. application roadmap, planned enhancements and updates
Conduct research and analysis on Salesforce-related products, services and applications in order to justify buying decisions
Liaising and meeting with stakeholders and clients is required
JOB APPLICATION PROCESS
If you are interested and qualified, we invite you to submit a completed online form shown below:
https://goo.gl/forms/UPJ3BJlvRUuBoqg42
Please do not send any resume to us before we request for it.
If you are shortlisted, we will request for your resume by email. We apologise that only shortlisted applicants will be notified.
We offer a competitive total remuneration and benefits package to our team members (conditions apply):
Flexible work arrangement for our people to achieve better work-life harmony
when there is no meeting, our team members have the freedom of choice when and where they work
Enjoy your holidays any time as long as the team can achieve business objectives and address business needs
Conducive environment for continuous improvement
Opportunities for rotation of duties
Usage of swimming pool / gym
Snacks / fruits / drinks would be provided during some meetings
Employee Benefits Allowance – 15% of basic pay
Performance incentives and awards
Discretionary incentive
Laptop
Mobile phone
Dining membership at 5 star hotel
Gym membership
Wellness programs
Team appreciation events at 5 star hotels or equivalent
Vouchers / tickets
Movie
Event
Shopping
Food & beverage
Travel
Hotel stay
Air ticket
Tour package
- HNWI Private Limited
- December 25, 2017
- Like
- 0
- Continue reading or reply
Need Sales force Project Support. Singapore
Looking for a good "allrounder" for Project support in Global Roll out, 8-9 month contract experienced Business Analyst prefered . Supporting live users, writing requirments, testing, project planning and follow up etc.
Thanks
- Lee Halket
- December 21, 2017
- Like
- 0
- Continue reading or reply
SF Developer in Toronto
http://touchbistro.applytojob.com/apply/wnoCH6jysr/Salesforce-Developer
-TB
- Peter Spinato
- November 28, 2017
- Like
- 1
- Continue reading or reply
Bulkfy Sample Code
I would like some help to bulkify the code bellow:
for (Trip__c trip : trigger.new ) { List<Trip__c> myTrips = [Select ID from Trip__c WHERE day__c =:trip.Day__c and driver__c =:trip.driver__c]; .... rest of the code .... }Thanks
- Sylvio Avilla
- April 25, 2017
- Like
- 0
- Continue reading or reply
Hi All, Can any one help me in CCAvenue integration with Salesforce
Please share some steps or sample code of integration.
Thansk!
- Dnyanesh Gawali
- July 25, 2016
- Like
- 0
- Continue reading or reply
Creation of Issue into jira from Salesforce along with an attachment
public SalesforcetoJira(){}
//Change values in this class according to you JIRA/Salesforce coordinates
public String baseUrl = ''; // Base URL of your JIRA instance
public String username = ''; // JIRA username
public String password = ''; // JIRA password // Constructs Basic Http Authentication header from provided credentials
public String authHeader(){ Blob headerValue = Blob.valueOf(username+':'+password); return 'Basic ' + EncodingUtil.base64Encode(headerValue);
}
public SalesforcetoJira(JiraUrl,String objectType,String projectKey,String issueType,string summary,string description)
{
HttpRequest req = new HttpRequest();
Http http = new Http();
req.setMethod('GET');
//Set HTTPRequest header properties
req.setHeader('Accept', 'application/json');
req.setHeader('Content-Type','application/json');
Blob headerValue = Blob.valueOf(username+':'+password);
req.setHeader('Authorization','Basic '+ EncodingUtil.base64Encode(headerValue));
req.setEndpoint(baseUrl);
String CreateIssueJsonJIra= '{"fields": {"project":{"key": " "},"summary":" ","description":" " ,"issuetype":{"name": "Bug"}}} ';
String JSONData = JSON.serializePretty(CreateIssueJsonJIra); r
eq.setBody(CreateIssueJsonJIra);
system.debug('after response....'+CreateIssueJsonJIra);
try{
//Execute web service call here
HTTPResponse res = http.send(req);
String ResponseJsonString = res.getBody();
map<string,string> attachment= (map<string,string>)JSON.deserializeUntyped(ResponseJsonStringJIra);
system.debug('after response...'+attachment);
system.debug('after response...'+attachment.get('id'));
System.debug('ResponseJsonStringJIra'+ResponseJsonStringJIra);
JSONParser parser = JSON.createParser(ResponseJsonStringJIra);
}
}
catch(System.CalloutException e)
{
System.debug('Callout error: '+ e);
}
}
I appreciate any help.
- Uday raj
- December 28, 2016
- Like
- 0
- Continue reading or reply
Survey Force response link to Account
- Arun Iyer
- December 09, 2014
- Like
- 0
- Continue reading or reply
Survey Force error-Authorization required
The problem is happening when i define a custom field under Survey Taken object and build a Master-Detail Relationship with Case object. When I do this, the contact is not able to submit the survey get the error, "Authorization is required"
If I remove this custom field or change the Data type to Lookup, it works perfectly.
I have checked many times on the site guest user profile. The VF pages are associated properly. The permissions are set properly for Case, Account and Contact objects, sharing rules are also defined but still i keep on getting Authorization error
Can some one help to see where the problem is and how to fix it?
Regards
Deepak
- deepak1.3956330618074822E12
- June 27, 2014
- Like
- 0
- Continue reading or reply
How to tell which action is invoked?
I want to use the same VF page but display differnt section for different action.
Is there a way to tell which action is invoked in Apex?
thanks,
David
- David Zhu
- December 14, 2015
- Like
- 1
- Continue reading or reply