• madelynkallie
  • NEWBIE
  • 0 Points
  • Member since 2021
  • Techglucose


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 2
    Likes Given
  • 0
    Questions
  • 0
    Replies
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
Hi, 

Recently I have tried to add a custom field to an object and I was unable to see it in the Attributes list.
The object is created with all the fields that were already added(custom or mandatory) but the one that that I need is not there. Method create() comes with successful response. What can I do?
Is there a matter of permissions?

Thank you in advance.
  • January 19, 2021
  • Like
  • 1