• Partner Dev Org
  • NEWBIE
  • 5 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
My current code is as follows(I re-wrote the first part of the URL for security):

<apex:page standardController="Account">
    <apex:pageBlock >
      <apex:outputText style="font-style:bold; font-sizje: 12pt" value="Tableau Dashboards for {0} with AD User ID {1} and Sales Rep ID {2} and Ship To # {3}.">
        <apex:param value="{!$User.Username}"/>
        <apex:param value="{!$User.ADUser__c}"/>
        <apex:param value="{!$User.BATO_Sales_Rep_ID__c}"/>
        <apex:param value="{!Account.Customer_Number__c}"/>
      </apex:outputText>    
    </apex:pageBlock> 
    
    <apex:iframe src="https://salesforce.com/embed_dashboard.php?workbook=Salesforce_Dashboard_Ship_To&view=Salesforce_Dashboard_Ship_To&user={!$User.ADUser__c}&Ship_To={!Account.Customer_Number__c}&width=1300px&height=600px" height="550px" width="1250px" scrolling="false"/>
</apex:page>


I'm trying to embed a tableau dashboard on an account page and pass parameters for filtering purposes.  The dashboard renders for my browsers, but fails in the SF1 app.  Salesforce says it's the iframe so I need a workaround, but I don't quite know how to write the code.

Hi,

I get the following error when trying to use a VF template since the winter 11:

(SELECT id, solution.solutionnote, solution.__procedure_information__c
^
ERROR at Row:1:Column:55
No such column '__procedure_information__c' on entity 'Solution'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

The same when previewing the template :
Error occurred trying to load the template for preview:
solution.solutionnote, solution.solutionnumber, solution.__solution_quality__c,
^
ERROR at Row:1:Column:80
No such column '__solution_quality__c' on entity 'Solution'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.. Please try editing your markup to correct the problem.

And when trying to save:
Error: ; nested exception is: common.exception.ApiQueryException: solution.solutionnote, solution.solutionnumber, solution.__solution_quality__c, ^ ERROR at Row:1:Column:80 No such column '__solution_quality__c' on entity 'Solution'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

My field name is solution_quality__c without __ at the beginning
and my vf code is:
<apex:repeat var="Sols" value="{!RelatedTo.CaseSolutions}">
<table cols="2" border="0" width="100%" cellspacing="2">
<tr><td width="20%" valign="top" bgcolor="#EEEEEE">Solution Quality:</td><td width="80%"><apex:outputText value="{!Sols.Solution.Solution_Quality__c}"/></td></tr>
<tr><td width="20%" valign="top" bgcolor="#EEEEEE">Additional Information:</td><td width="80%"><!--apex:outputText value="{!Sols.Solution.Procedure_information__c}" escape="false"/--></td></tr>
</table>
</apex:repeat>

what's wrong with this?