• Gurpreet Singh Sandhu
  • NEWBIE
  • 20 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 4
    Replies
Hello everyone,

Is it possible to show the record fields side by side (2 columns) using record-edit-form? Something similar to the "columns" attribute in record-form.Actual
Hello everyone,
USE CASE: When User finalize the Quote, sends an email along with Attachments(Quotes, POs, etc). I am using Visual Flow to get the Attachments and calling Apex Email Service.

WORKING: I am able to receive an email along with all the attachments, correct email template as expected. PDFs are coming along in the correct format.

ISSUE: All NON-PDFs attachments such as EXCEL, PNG, JPEGs are not showing in the correct format and infact, I am not able to open them from the Email.

Can someone please guide me to correct the issue? I beleive the issue is with:
q.setContentType('application/' + document.FileType);
Email Alert received through APEX Email Service


Compelete Code for setting the Email Atatchment:
Messaging.EmailFileAttachment q = new Messaging.EmailFileAttachment();
 q.setBody(document.VersionData);
q.setFileName(document.Title);
 q.setContentType('application/' + document.FileType);
attachments.add(q);
Thanks in Advance,
Guru Sandhu
 
Hello,

I am getting below error while submitting the Trailhead challenge for verification:
The page does not include a apex:outputField component bound to the opportunity amount

Please advise.

Thank you,
Guru


Here is the code I am submitting:

<apex:page standardController="Opportunity">
    <apex:pageBlock title="opportunities list">
        <apex:pageBlockSection title="opportunities main" >
            <apex:outputField value="{! Opportunity.Name }"/>
            <apex:outputField value="{! Opportunity.Amount }"/>
            <apex:outputField value="{! Opportunity.CloseDate }"/>
            <apex:outputField value="{! Opportunity.Account.Name }"/>
        </apex:pageBlockSection>
    </apex:pageBlock>
</apex:page>


 
Hello,

I have a requirement when user needs to be restrict to access Salesforce with BI Tool. I have disabled the API Access from the profile. WHich resolved the problem. But disabling API also takes away the access to WorkBench and SFDC UI Read Only Access. 
How can we cut-off the BI Tool access but allow WorkBench and SFDC UI Read Only Access?
Hello everyone,

Is it possible to show the record fields side by side (2 columns) using record-edit-form? Something similar to the "columns" attribute in record-form.Actual
Hello everyone,
USE CASE: When User finalize the Quote, sends an email along with Attachments(Quotes, POs, etc). I am using Visual Flow to get the Attachments and calling Apex Email Service.

WORKING: I am able to receive an email along with all the attachments, correct email template as expected. PDFs are coming along in the correct format.

ISSUE: All NON-PDFs attachments such as EXCEL, PNG, JPEGs are not showing in the correct format and infact, I am not able to open them from the Email.

Can someone please guide me to correct the issue? I beleive the issue is with:
q.setContentType('application/' + document.FileType);
Email Alert received through APEX Email Service


Compelete Code for setting the Email Atatchment:
Messaging.EmailFileAttachment q = new Messaging.EmailFileAttachment();
 q.setBody(document.VersionData);
q.setFileName(document.Title);
 q.setContentType('application/' + document.FileType);
attachments.add(q);
Thanks in Advance,
Guru Sandhu
 
Hello,

I am getting below error while submitting the Trailhead challenge for verification:
The page does not include a apex:outputField component bound to the opportunity amount

Please advise.

Thank you,
Guru


Here is the code I am submitting:

<apex:page standardController="Opportunity">
    <apex:pageBlock title="opportunities list">
        <apex:pageBlockSection title="opportunities main" >
            <apex:outputField value="{! Opportunity.Name }"/>
            <apex:outputField value="{! Opportunity.Amount }"/>
            <apex:outputField value="{! Opportunity.CloseDate }"/>
            <apex:outputField value="{! Opportunity.Account.Name }"/>
        </apex:pageBlockSection>
    </apex:pageBlock>
</apex:page>


 
Hello,

I have a requirement when user needs to be restrict to access Salesforce with BI Tool. I have disabled the API Access from the profile. WHich resolved the problem. But disabling API also takes away the access to WorkBench and SFDC UI Read Only Access. 
How can we cut-off the BI Tool access but allow WorkBench and SFDC UI Read Only Access?