-
ChatterFeed
-
0Best Answers
-
2Likes Received
-
0Likes Given
-
39Questions
-
17Replies
lightining web component not getting deployed Recipe App
I am unable to deploy Recipe app after cloning from Git.
The error I am getting is below.
force-app\main\default\objects\Contact\fields\CleanStatus.field-meta.xml Could not resolve standard field's name. (138:13)
force-app\main\default\permissionsets\recipes.permissionset-meta.xml In field: field - no CustomField named Contact.CleanStatus found
- smitra
- March 24, 2020
- Like
- 0
- Continue reading or reply
check last modified date of contact
- smitra
- May 17, 2018
- Like
- 0
- Continue reading or reply
- smitra
- October 28, 2016
- Like
- 0
- Continue reading or reply
dependent look up in visualforce page
- smitra
- July 26, 2016
- Like
- 0
- Continue reading or reply
When huge number of data is synced from offline to online does it synced one by one/several data at a time?
- smitra
- August 08, 2015
- Like
- 0
- Continue reading or reply
Is there any limit for Trigger execution for a single record
- smitra
- August 08, 2015
- Like
- 0
- Continue reading or reply
What CA provides when they recv .csr file
Please tell me the steps what needs to be done once After receiving the .CRT file and uploading the same in sfdc org .
Will CA also provide apublic key which we need to provide to the server side so that they can configure the same at there end
- smitra
- July 09, 2015
- Like
- 0
- Continue reading or reply
How to configure CA signed certificate
Once we upload the .crt file what is the next step to cennt to the other side(Application server) do the Application server also needs to configure with the same crt file or there will be a seperate public key ,associated with the CA signed certificate will be present for configuration purpose
- smitra
- July 06, 2015
- Like
- 0
- Continue reading or reply
2 Way SSL connectivity between salesforce and TIBCO
TIBCO will provide a public key which will be hosted in salesforce org similarly from salesforce org also we will provide TIBCO a public key for CA signed certificate generated in salesforce.
When a soap request will be sent from salesforce org to TIBCO this request will be signed by the private key and TIBCO will decrypt the request using there public key
Please let me know how to store public key in salesforce org ?
and how do I sign with private key while sending the message.
- smitra
- June 24, 2015
- Like
- 0
- Continue reading or reply
creating custom field from visual force page
- smitra
- December 10, 2014
- Like
- 0
- Continue reading or reply
Inorder to lock child objects in a approval process what needs to be done?
- smitra
- December 08, 2014
- Like
- 0
- Continue reading or reply
Collapsible feature in Visualforce page
- smitra
- October 14, 2014
- Like
- 0
- Continue reading or reply
Hi I want to add drag drop functionality in visualforce page
<apex:page >
<title>jQuery UI Sortable - Connect lists</title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css" />
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.1/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css" />
<style>
#sortable1, #sortable2 {
border: 1px solid #eee;
width: 142px;
min-height: 20px;
list-style-type: none;
margin: 0;
padding: 5px 0 0 0;
float: left;
margin-right: 10px;
}
#sortable1 li, #sortable2 li {
margin: 0 5px 5px 5px;
padding: 5px;
font-size: 1.2em;
width: 120px;
}
</style>
<script>
$(function() {
$( "#sortable1, #sortable2" ).sortable({
connectWith: ".connectedSortable"
}).disableSelection();
});
</script>
<ul id="sortable1" class="connectedSortable">
<li class="ui-state-default">Item 1</li>
<li class="ui-state-default">Item 2</li>
<li class="ui-state-default">Item 3</li>
<li class="ui-state-default">Item 4</li>
<li class="ui-state-default">Item 5</li>
</ul>
<ul id="sortable2" class="connectedSortable">
<li class="ui-state-highlight">Item 1</li>
<li class="ui-state-highlight">Item 2</li>
<li class="ui-state-highlight">Item 3</li>
<li class="ui-state-highlight">Item 4</li>
<li class="ui-state-highlight">Item 5</li>
</ul>
</apex:page>
But Inorder to make the list dynamic I am replaceing the "<ul><li>" section with the below code
<ul id="sortable1" class="connectedSortable">
<apex:repeat value="{!fields}" var="f">
<li>
<apex:outputText value="{!f.value}/>
</li>
</apex:repeat>
</ul>
but it is not working can some one help
- smitra
- October 13, 2014
- Like
- 0
- Continue reading or reply
how to write unorder list and orderd list in visualforce page
<ul id="sortable1" class="connectedSortable">
<li class="ui-state-default">Item 1</li>
<li class="ui-state-default">Item 2</li>
<li class="ui-state-default">Item 3</li>
<li class="ui-state-default">Item 4</li>
<li class="ui-state-default">Item 5</li>
</ul>
I think using datalist is a possible solution
<apex:dataList value="{!fields}" var="fls" id="sortable1" styleClass="connectedSortable">
<apex:outputText value="{!fls.key}" id="sortable1" styleClass="connectedSortable"/>
</apex:dataList>
but I am unable to call jquery using the following code.
- smitra
- October 11, 2014
- Like
- 0
- Continue reading or reply
UNKNOWN ERROR: ExceededQuota: ApiBatchItems Limit exceeded
- smitra
- September 09, 2014
- Like
- 0
- Continue reading or reply
Sample rest API call..
I want to retrive searchlayout information using rest API call.
I sear in some guide book finally came accross the below link
https://www.salesforce.com/us/developer/docs/api_rest/
- smitra
- August 27, 2014
- Like
- 0
- Continue reading or reply
Linking with records from pageblock table
I have a dynamic table which displays search result based on differnt entities
common display attribute is name
please let me know how do I incorporate hyperlink with name.
<apex:pageBlockTable rendered="{!ObjectList!=null}" value="{!ObjectList}" var="rec">
<apex:column value="{!rec.Id}" rendered="{!IF(SelectedFields.size == 0 , true, false)}"/>
<apex:repeat value="{!SelectedFields}" var="FieldLable">
<apex:column value="{!rec[FieldLable]}" rendered="{!IF(FieldLable != '--None--' , true, false)}">
</apex:column>
</apex:repeat>
</apex:pageBlockTable>
- smitra
- August 25, 2014
- Like
- 0
- Continue reading or reply
Field retrieve from search Layout
I want retrieve Searchlayout field list for a specific object using describeLayout() method..Can anyone put a code snippent for the same
- smitra
- August 25, 2014
- Like
- 0
- Continue reading or reply
Displaying SOQL query result in VF page tablular form
- smitra
- August 22, 2014
- Like
- 0
- Continue reading or reply
Displaying search result in Tabuler format in VF page
every example Shown here --number of attributes and name of the attributes are mentioned in the visual force page
for example:
<apex:pageblockTable value="{!conList}" var="con">
<apex:column value="{!con.name}"/>
<apex:column value="{!con.email}"/>
</apex:pageblockTable>
But the problem is when i want to render the search result in vf page it could be anything..its not a predetermined set of attributed that I want to display..There should be some generic holder which will keep track of the attributes that i want to display..considering my example..if it is lead {Name=Bertha Boxer, Phone=(850) 644-4200, Id=00Q9000000EJ3FDEA1, LeadSource=Web, City=Tallahassee},
Then in visula force page it should appear like
Name|Phone|Id|LeadSource|City
Bertha|(850) 644-4200|Web|Tallahassee
- smitra
- August 22, 2014
- Like
- 0
- Continue reading or reply
Retrieving Related List by SOQL query and disply in a visualforce page
I have two custom objects as master detail relationship.Inorder to retrieve related list from the master record using SOQL query and display it in visualforce page
- smitra
- July 02, 2013
- Like
- 2
- Continue reading or reply
Apex Trigger: Method does not exist or incorrect signature: MailManager.SendMail(String, String, String)
Hi,
I get that error when I try to save this code.
trigger ExampleTrigger2 on Contact (after insert, after delete) {
if (Trigger.isInsert) {
Integer recordCount = Trigger.New.size();
// Call a utility method from another class
EmailManager.sendMail('aschor@acmeunited.com', 'Trailhead Trigger Tutorial',
recordCount + ' contact(s) were inserted.');
}
else if (Trigger.isDelete) {
// Process after delete
}
}
thanks,
Aron
- Aron Schor [Dev]
- July 06, 2015
- Like
- 0
- Continue reading or reply
2 Way SSL connectivity between salesforce and TIBCO
TIBCO will provide a public key which will be hosted in salesforce org similarly from salesforce org also we will provide TIBCO a public key for CA signed certificate generated in salesforce.
When a soap request will be sent from salesforce org to TIBCO this request will be signed by the private key and TIBCO will decrypt the request using there public key
Please let me know how to store public key in salesforce org ?
and how do I sign with private key while sending the message.
- smitra
- June 24, 2015
- Like
- 0
- Continue reading or reply
how to write unorder list and orderd list in visualforce page
<ul id="sortable1" class="connectedSortable">
<li class="ui-state-default">Item 1</li>
<li class="ui-state-default">Item 2</li>
<li class="ui-state-default">Item 3</li>
<li class="ui-state-default">Item 4</li>
<li class="ui-state-default">Item 5</li>
</ul>
I think using datalist is a possible solution
<apex:dataList value="{!fields}" var="fls" id="sortable1" styleClass="connectedSortable">
<apex:outputText value="{!fls.key}" id="sortable1" styleClass="connectedSortable"/>
</apex:dataList>
but I am unable to call jquery using the following code.
- smitra
- October 11, 2014
- Like
- 0
- Continue reading or reply
Linking with records from pageblock table
I have a dynamic table which displays search result based on differnt entities
common display attribute is name
please let me know how do I incorporate hyperlink with name.
<apex:pageBlockTable rendered="{!ObjectList!=null}" value="{!ObjectList}" var="rec">
<apex:column value="{!rec.Id}" rendered="{!IF(SelectedFields.size == 0 , true, false)}"/>
<apex:repeat value="{!SelectedFields}" var="FieldLable">
<apex:column value="{!rec[FieldLable]}" rendered="{!IF(FieldLable != '--None--' , true, false)}">
</apex:column>
</apex:repeat>
</apex:pageBlockTable>
- smitra
- August 25, 2014
- Like
- 0
- Continue reading or reply
Field retrieve from search Layout
I want retrieve Searchlayout field list for a specific object using describeLayout() method..Can anyone put a code snippent for the same
- smitra
- August 25, 2014
- Like
- 0
- Continue reading or reply
Displaying SOQL query result in VF page tablular form
- smitra
- August 22, 2014
- Like
- 0
- Continue reading or reply
how to display SOQL query result in visualforce page
I have a SOQL query result in controller like this
(Lead:{Name=Bertha Boxer, Phone=(850) 644-4200, Id=00Q9000000EJ3FDEA1, LeadSource=Web, City=Tallahassee}, Lead:{Name=Phyllis Cotton, Phone=(703) 757-1000, Id=00Q9000000EJ3FEEA1, LeadSource=Web}, Lead:{Name=Jeff Glimpse, Phone=886-2-25474189, Id=00Q9000000EJ3FFEA1, LeadSource=Phone Inquiry}
I want to display the result in tabuler format in visual force page.
Please let me know how to display the result
- smitra
- August 22, 2014
- Like
- 0
- Continue reading or reply
Fields retrieve from searchLayout.
I want to retrieve fields from Standard or Custom Object Page Layout.Is there any standard Apex methods which will do that
- smitra
- August 19, 2014
- Like
- 0
- Continue reading or reply
metada data description from Apex code
Hi,
I have generated Apex classes for metadata.wsdl,apex.wsdl,partner.wsdl and enterprise.wsdl .Now I need to write code for metadata description casn anyone suggest me how to approach for the same.
- smitra
- July 15, 2013
- Like
- 0
- Continue reading or reply
Retrieving Related List by SOQL query and disply in a visualforce page
I have two custom objects as master detail relationship.Inorder to retrieve related list from the master record using SOQL query and display it in visualforce page
- smitra
- July 02, 2013
- Like
- 2
- Continue reading or reply
DescribeSObjectResult[] dsrArray = connection.describeSObjects(new String[] { objectToDescribe });
DescribeSObjectResult[] dsrArray = connection.describeSObjects(new String[] { objectToDescribe });
The above line is throwing the below error:
com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting element 'urn:enterprise.soap.sforce.com:permissionable' but found 'urn:enterprise.soap.sforce.com:precision'
at com.sforce.ws.bind.TypeMapper.verifyTag(TypeMapper.java:386)
at com.sforce.ws.bind.TypeMapper.verifyElement(TypeMapper.java:415)
at com.sforce.soap.enterprise.Field.loadFields(Field.java:1)
at com.sforce.soap.enterprise.Field.load(Field.java:1)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:628)
at com.sforce.ws.bind.TypeMapper.readArray(TypeMapper.java:528)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:506)
at com.sforce.soap.enterprise.DescribeSObjectResult.loadFields(DescribeSObjectResult.java:1)
at com.sforce.soap.enterprise.DescribeSObjectResult.load(DescribeSObjectResult.java:1)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:628)
at com.sforce.ws.bind.TypeMapper.readArray(TypeMapper.java:528)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:506)
at com.sforce.soap.enterprise.DescribeSObjectsResponse_element.loadFields(DescribeSObjectsResponse_element.java:1)
at com.sforce.soap.enterprise.DescribeSObjectsResponse_element.load(DescribeSObjectsResponse_element.java:1)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:628)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:504)
at com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:173)
at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:147)
at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:98)
at com.sforce.soap.enterprise.EnterpriseConnection.describeSObjects(EnterpriseConnection.java:1)
at com.example.samples.QuickstartApiSample.describeSObjectsSample(QuickstartApiSample.java:171)
at com.example.samples.QuickstartApiSample.run(QuickstartApiSample.java:53)
at com.example.samples.QuickstartApiSample.main(QuickstartApiSample.java:43)
- smitra
- May 22, 2013
- Like
- 0
- Continue reading or reply
how to create custom field in standard object?
hi,
i m trying to create a custom field in to standard object but it is creating in to standard fields not in custom field.
and second thing i m not able to create field type exept Text and AutoNumber. this is the code that i m using.
// create a new custom object
String objectName = "Test4";
String displayName = "Test4 Object";
CustomObject co = new CustomObject();
co.setFullName(objectName+"__c");
co.setDeploymentStatus(DeploymentStatus.Deployed);
co.setDescription("Created by gaurav using the Metadata API");
co.setLabel(displayName);
co.setPluralLabel(displayName+"s");
co.setSharingModel(SharingModel.ReadWrite);
co.setEnableActivities(true);
// create the text id field
String custom ="Test";
CustomField field = new CustomField();
field.setType(FieldType.Text);
field.setDescription("The Gaurav");
field.setLabel(displayName);
field.setFullName(objectName+"__c");
// add the field to the custom object
co.setNameField(field);
try {
// submit the custom object to salesforce
AsyncResult[] ars = metadataConnection.create(new CustomObject[] { co });
if (ars == null) {
System.out.println("The object was not created successfully");
return;
}
String createdObjectId = ars[0].getId();
String[] ids = new String[] {createdObjectId};
boolean done = false;
long waitTimeMilliSecs = 1000;
AsyncResult[] arsStatus = null;
/**
* After the create() call completes, we must poll the results
* of the checkStatus() call until it indicates that the create
* operation is completed.
*/
while (!done) {
arsStatus = metadataConnection.checkStatus(ids);
if (arsStatus == null) {
System.out.println("The object status cannot be retrieved");
return;
}
done = arsStatus[0].isDone();
if (arsStatus[0].getStatusCode() != null ) {
System.out.println("Error status code: "+arsStatus[0].getStatusCode());
System.out.println("Error message: "+arsStatus[0].getMessage());
}
Thread.sleep(waitTimeMilliSecs);
// double the wait time for the next iteration
waitTimeMilliSecs *= 2;
System.out.println("The object state is "+arsStatus[0].getState());
}
System.out.println("The ID for the created object is "+arsStatus[0].getId());
}
catch (Exception ex) {
System.out.println("\nFailed to create object, error message was: \n" +ex.getMessage());
}
}
- gaurav.d
- March 01, 2011
- Like
- 0
- Continue reading or reply
Adding a custom field to a custom object
Hi,
Once a custom object has been created is it possible to still add custom fields to it? I don't mind if data is lost...
At the moment if I click on 'Edit' next to the custom object it only gives me a very limited set of options, none of which allow me to add/change fields.
Thanks
Matt
- mattpick1
- October 30, 2009
- Like
- 1
- Continue reading or reply