• Neil Cummings
  • NEWBIE
  • -6 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 43
    Replies
hi i have 2 fieldset s i need to display in aura component
Can any one explain me what is the use of picklistValueInfo  and EntityParticleId   can't  find any documents or provide me a document
Thank you
User-added imageUser-added imageUser-added imageLead is successfully converted is showing but not converting.
How to disable the keyboard on mobile if the dropdown fields are active
Hi All, 
I am using the following Script inside  a VF Page to print the VF Page without preview it. 
The page is rendered in the printer format but it Is also previewed in the backgroud (Screenshot below). i mean when  i click  on the button , The VF Page and the Printer page , the both are open.  I do not want to preview the VF Page. If i could  automatically send it to the printer  when the button is clicked without any preview that would be awesome. 

Here th starting of my page
<apex:page readOnly="false"  action="{!updateDelivery}"  showHeader="false" sidebar="false"  applyHtmlTag="false"   standardStylesheets="false"  standardController="Delivery__c" extensions="DeliveryPageClass"  applyBodyTag="false" >    

    <head>
    <script type="test/javascript">
    function printFunc(){
        window.print();
    }
</script>

User-added image
I am looking to modify our API integration with Pardot to use OAuth.

We currently have a Salesforce "Developer Edition" account and a Pardot "Training: SFDC Ultimate Edition" account. Logging to Pardot via SSO works but we cannot find the OAuth required "Business Unit Id" in the UI.

Is it possible that our Dev accounts are out of date and do not provide this functionality? I noticed for example that our Salesforce account does not have any Identity User Licenses. A newly created Dev account does have access to these.

If our accounts are out of date, is it possible to gain access to a new Pardot Training or Sandbox Account with only a Salesforce Developer Edition Account?

Is there any way can I find my Pardot Business Unit Id if I do not have access to the Pardot Account Setup menu option within the Lightning App?

This is becoming an urgent priority as our current Pardot Integration solution will stop working on February 15th 2021 without these changes.
Hello guys,

I am currently working on the development of a Lightning Web Components, first time developing for Salesforce. I've already searched everywhere but I couldn't find a working solution in order to make requests to my company's server.

I've already added our server to the list of security trusted sites and I am having problems running the following:
fetch('https://example.com', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    data: { ... }
}).then(function(res) {
    console.log(res);
}).catch(e => console.log(e));
This is the error I get:
Access to fetch at 'https://example.com' from origin 'https://origin-dev-ed.lightning.force.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Our API is returning the required 'Access-Control-Allow-Origin' header and we shouldn't be seeing such error. Or am I missing something?
Trying to find out if i can rotate an image once the visualforce page is rendered as a PDF, when it is rendered as HTML the image shows correctly the way you take the image also the css below works with it on HTML but not PDF which is strange because the other style is working for the page when it is in PDF. 
<style type="text/css" media="print">
			@page {
				size: landscape
			}
.imageClass {
				-webkit-transform: rotate(90deg);
				-moz-transform: rotate(90deg);
				-o-transform: rotate(90deg);
				-ms-transform: rotate(90deg);
				transform: rotate(90deg);
				height: 200px;
				width: 200px;
			}

<img src="{!'/sfc/servlet.shepherd/version/download/' + Document_Id__c}" alt="before photo" class="imageClass"


-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
My client has a community that was created by a previous partner. There should be no non-authenticated access to the community. (Site Guest User, while it exists, because it has to, should not have any access to records. I'm relatively confident that the Site Guest User can't log in and couldn't access any records even if it could.) A few weeks ago I built a screen flow to put on Contact and Case pages to display a message. Once that flow was activated, we have started to get infrequent flow errors indicating that Site Guest User initiated the flow interview and that it errored because the record it was trying to look up isn't found (isn't accessible to the Site Guest User due to sharing settings). Error comes just a handful of times--maybe 5 in a week. But we can't figure out under what circumstances a Site Guest User would even be trying to access a record at all. I can't reproduce because if I try to access the site unauthenticated, I never get beyond the login screen. (Copying URL for a contact and then going directly without authenticating immediately goes to the login screen and does not trigger the error.) Need help figuring out the circumstances that cause the error. Here is the full text of one of the error emails:
Flow Details
Flow API Name: Community_Contact_Display_TANF_Warning
Type: Screen Flow
Version: 4
Status: Active
Org: Denton County Friends of the Family (00D0b000000vJB9)

Flow Interview Details
Interview Label: Community_Contact_Display TANF Warning 8/19/2020 10:09 PM
Current User: DCFOF Client Cases Site Guest User (0050b000005Zm5v)
Start time: 8/19/2020 10:09 PM
Duration: 0 seconds

How the Interview Started
DCFOF Client Cases Site Guest User (0050b000005Zm5v) started the flow interview.
Some of this flow's variables were set when the interview started.
varContactId = 0030b00002Ucz8sAAB

FAST LOOKUP: Look_up_Contact
Find all Contact records where:
Id Equals {!varContactId} (0030b00002Ucz8sAAB)
Store those records in {!varContact}.
Save these field values in the variable: Id, TANF_out_of_date__c
Result
Failed to find records.

Error Occurred: This error occurred when the flow tried to look up records: SELECT Id, TANF_out_of_date__c FROM Contact WHERE ((Id = '0030b00002Ucz8sAAB')) ^ ERROR at Row:1:Column:37 sObject type 'Contact' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.. You can look up ExceptionCode values in the SOAP API Developer Guide.
Im trying to call a flow from a process to start an invocable method.
The process waits for a certain status on the case object to start the flow with a scheduled action: 

User-added imageI get a 'pending uncommitted changes' error everytime I try do call the flow. 

My flow looks like this: 
User-added image

Any suggestions?
Crypto (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_restful_crypto.htm) class supports only AES algorithm for Encryption and Decrypion. I have a usecase where I need to encrypt my HTTP request payload using a certificate which supports RSA Encryption algorithm. 
So, should I write custom code to implement RSA encruption/Decryption algorithm? Is this the recommended approach/Best Practice? 
I am looking for a sales and service cloud functional consultant from India. I am will to pay INR 1000 per hour. 

I am already a salesforce consultant myself and my intention is to project manage/engagement manage customers. I will do all the client side requirement gathering and solution design. What I am looking for is someone to configure the application. I will then do QA, UAT and handover

Must Have
Be currently salesforce certified - Admin 201, sales cloud, service cloud.
Good communication skills
Fluent in English
Can get things completed.

 
I have been getting the following error whenever i try to create a build to Salesforce. May i know what changes i need to make on my system (.yaml file) to get this working. 
The command "openssl aes-256-cbc -K $encrypted_badc503f6449_key -iv $encrypted_badc503f6449_iv -in assets/server.key.enc -out assets/server.key -d" failed and exited with 1 during .
I really think Trailhead ought to point out that you're going to have troubles running through the module in Windows....
Pretty straightforward question - I know that with the GovWin SalesForce Connector you can directly input data from GovWin into Salesforce. Is there any way known where you can update an opportunity that was created in SalesForce with information from GovWin, without having to do it manually?

Thanks for any help given!
I'm doing the simple lightning components challenge and have hit this problem in my existing trailhead org and a brand new dev org that I've just created:

Challenge not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: QVWBQHAG

I am new to triggers in SFDC and have created a trigger to flag potential duplicate Cases. I am querying the SuppliedEmail, ContactId and IsClosed values on Cases. It works when a Contact creates a new Case in SFDC when they already have a case open, however if I close/delete,  the potential duplicate case, the checkbox remains ticked. I was trying to use an after insert, after update action but was receiving a System.FinalException: Record is read-only error. Any help is appreciated. 

 

Here is the code:

 

trigger PotentialDupe on Case (before insert, before update) {
List<Case> DupeCases = new List<Case>();
for (Case c : Trigger.new){

Case [] cases = [SELECT id, ContactId, SuppliedEmail, isClosed FROM Case WHERE SuppliedEmail = :c.SuppliedEmail AND ContactId = :c.ContactId AND isClosed = FALSE];

if (cases.size() > 0) {
c.Potential_Duplicate_Case__c = TRUE;
}else
c.Potential_Duplicate_Case__c = FALSE;
}
update DupeCases;
}

Hi All,

 

I have a query on profile like

 

  profile =[Select p.Name From Profile p where p.Name=: 'System Administrator' ];

 

If the user  language is english it works fine but if the language is different other than english then the query is not working.

 

Please suggest me any work around on this. Any help is appreciated.

Hi all,

 

My client has provided me 17 xsd files, where I'm unaware of xsd programming which has made me to search for the application to generate an object (using the same xsd files) with few clicks (similar to xsdobjectgen.exe/xsdobjectgenerator.exe in dotnet) in salesforce.

 

So please let me know if at all we have any application for generating an object using xsd files in salesforce.

  • November 12, 2012
  • Like
  • 1
I have created a field on the contact record titled Twitter User Name.  I am now trying to create a hyperlink formula field that will take the user name entered and add it to the Twitter URL and I can't get it to work.  It works great as a custom link but I want to be able to place the URL in the page layout and not in the custom link section.  Any suggestions?

I have tried both of these options

HYPERLINK("http://twitter.com/Contact.Twitter_User_Name__c", "Twitter Account" )

HYPERLINK("http://twitter.com/Twitter_User_Name__c", "Twitter Account" )