Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 70567

Visualforce relates to questions where the Visualforce language or framework are concerned. This is primarily VF pages, components, PDF rendering, and email templates. This would only cross-over to Lightning where Lightning Out (Lightning for VF) or VF pages using SLDS or being used in LEX. Where a question relates to Apex invoked as part of a VF page, this tag would also be appropriate.

1 vote
2 answers
83 views

Hide certain records when a inputCheckBox is set to true

I have a visualforce that shows a pageDataTable with a list of records os a wrapper 'OrderItemWrapper'. … if(istrue.checked){ checkval[i].style.display='block'; }else{ checkval[i].style.display='none'; } } } </script> Ans this is my Wrapper (into the visualforce
Chandlerbeen's user avatar
0 votes

Hide certain records when a inputCheckBox is set to true

The visualforce: <script> function HideMsg(){ var checkval = document.getElementById("{! …
Chandlerbeen's user avatar
1 vote
1 answer
328 views

Error when I try to create OrderItem records Insert failed. INVALID_CROSS_REFERENCE_KEY

I'm trying to create a visualforce page where a user can create multiple OrderItem records at the same time. The error that I get is OrderItem records Insert failed. … Visualforce <apex:page standardController="Opportunity" extensions="CotizadorPrincipalController" lightningStylesheets="true" docType="html-5.0"> <apex:pageBlock title="Detalles de la Oportunidad" …
Chandlerbeen's user avatar
1 vote
Accepted

Error when I try to create OrderItem records Insert failed. INVALID_CROSS_REFERENCE_KEY

I think I found the problem. I found that order has a Pricebook2Id field that need to be populate to create OrderItem records linked to it.
Chandlerbeen's user avatar