When a new version of the Salesforce package is generated, it is often necessary to check which new components will be introduced into the packages, This in the case of a number of components will be a little dazzling, in order to facilitate, I want to use JS to the package has been introduced to filter out, so there is the following JS fragment, recorded, easy to use in the future! 1. First, first, the introduction of jquery, because the pure JS
There is a need to provide a WSDL file for the external service (salesforce only supports uploading from the local area), and the WSDL file provided has the following two requirements:
1): WSDL file can only have one binding,salesforce is not supported by multiple binding
2): WSDL file contains all schema information, Salesforce is not supported by import of ex
In Thursday, Salesforce called on EU regulators to conduct a full investigation into Microsoft's deal to buy LinkedIn for $26 billion, foreign media reported. Microsoft is expected to seek EU antitrust approvals for the deal in the next few weeks. It's the biggest deal in Microsoft's history.650) this.width=650; "alt=" mutual pinch, salesforce calls on the EU to investigate Microsoft's acquisition of the Li
Learning salesforce for one months, the document also read a lot, but most of them did not delve into. Salesforce abroad a lot of documents, the previous Java Baidu can be a lot of solutions, now do Salesforce is to improve the ability of many Google search. Google a lot of things in China are to shield off, general search not what things, suggest Google browser
A problem has recently been encountered in an integration project project: When you integrate in. Net with the latest version of Enterprise wsdl (API 32.0), class errors are initialized when you initialize Sforceservice. This is the Salesforce in the new version of the soap API bug, in the previous version does not have this problem, you need attention.The specific error message is as follows:Message:sync error,system.typeinitializationexception:the t
A recent company project to invoke Salesforce's CRM system API, some of the problems encountered in the recordOne: Add a Web Service reference1.11.21.3: Copy Address bar address1.4 Paste the copied address contents into the URL input boxSecond: Compile the project, click Start Run2.1: Direct Error2.1: All blame we too believe Microsoft, vs also have bug, later in a foreigner blog to see similar situation, F12 into the generated SforceService.cs press ctrl+f find all ListviewrecordcolumnListviewr
Again to the Salesforce update, after looking at release note, it is sure that lightning has been greatly updated. I believe lightning now has the ability to replace classic.First, the list view is optimized, the style changes, the feeling is more compact, the displayed column can drag the column width by itself. Added the sorting function (this should be the basic ability).The search function under lightning is enhanced, and if the word is misspelled
In Salesforce, there are times when we need to put a group of users in a team to implement the following key features:1. Set the default shared access via sharing rule;2. Share the records with other users;3. Specify the synchronized contacts, the onwer of these contacts belong to other user;4. Assign the user in the group to the specified actions, such as the approval process.Group as the system table whose field information is as follows:Where type
In Salesforce, we can add our custom Visualforce Page to the layout corresponding to object. At this point, Visualforce page and asp.net mvc partial view have the same beauty.
So how do you complete the process? See the following procedure:
1): In the Custom Visualforce page to add the following label
"Standardcontroller flag This page can be added to which object corresponds to the layout"
"Extensions specifies the corresponding background class
Use attachment to upload files:
The uploaded content is stored in the attachment object of SF.
Use the
The uploaded content is stored in the Document Object of SF.
Use the library in the content app in SF to store the content file:
The uploaded files will be stored in the contentworkspace object (Library) and contentversion object (content) for specific file content (including binary files, etc. However, it requires a contententid .).
Contentdocument object, which c
Web service can be created in Salesforce for external system calls, and the calling interface can be provided externally as soap or rest, followed by a detailed description of how to create a Web in soap Service and make a simple call with a asp.net program.
1): Create the following class in Salesforce
"NOTE: If you want to make it a Web service, then class must be defined as global, with the specific met
1): How to Configure in Salesforce, advertise this service outside, please see the following link:http://www.shellblack.com/marketing/web-to-lead/2): How to call this service in ASP. To create the corresponding lead, see the following code: Try{StringBuilder Data=NewStringBuilder (); Data. Append ("Oid=[youroid]"); Data. Append ("first_name="+ Server.URLEncode ( This. Txtfirstname.text)); Data. Append ("last_name="+ Server.URLEncode ( This.
approval comments;
Getnextapproverids (): Returns a list of user IDs for the user who is the approver.
The ProcessRequest encapsulation method is the most basic process approval method, and these methods are instantiation methods. Typically, a new process approval class is not instantiated for this class, but instead instantiates two of his corresponding subclasses.II) processsubmitrequestUse this class to submit a record to the process approval, in addition to inheriting the ProcessRe
Official documents Download URL: Https://developer.salesforce.com/docsAll official documents about Salesforce are in the above address and can be previewed and downloaded onlineRecommended for beginners to learn the following documents, followed by the first document after the operation of the Force.com platform basic operating procedures are familiar with1.force.com WorkbookHttps://developer.salesforce.com/docs/atlas.en-us.workbook.meta/workbook/work
When writing Test Class, sometimes need a batch of ID data or ID as parameters, etc., in the case of complex data relations to build real data some trouble, so find a way to generate ID can be used to assist the test!private static Integer Fakeidcount = 0;private static final String Id_pattern = ' 000000000000 ';/*** Generate a fake Salesforce Id for the given Sobjecttype*/public static Id Generatefakeid (Schema.sobjecttype sobjecttype) {String Keypre
In the Salesforce also exists the concept of job, of course, we can create a schedule job to trigger the corresponding class, to complete the time we need to process the function, such as: Timed synchronization data.
The specific processing steps are as follows:
1: The created class needs to inherit the Schedulable interface and implement the corresponding Execute method, which can complete our own code logic in the Execute method
Global class Syn
Call external web service from salesforce apex
Some times, you may need to call an extenal web service which might have written on a serverside language like. net, PHP or Java.Once you made your web service on the serverside or you can use a third party Web Service API.
I will explain you this using authorize. netpayment gateway.There are several types of payment criterias available for authorize.net. For an example I will go with CIM (Customer Infor
Forget is on which project encountered, anyway is met, is the standard object address type in the reference. NET error, saying that the corresponding type could not be found.Therefore, you need to add the following statement under the WSDL (as if it were added in the WSDL, forget, sweat a ...). )Add the following within the ---restore content ends---Salesforce WSDL reference to. NET error resolution where unresolved address fields occu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.