*** placeholder use ***

Hi ,
I am using Repors Developer. I try using PlaceHolder. I explaore the example
from the Reports Developer Help. It is the following:
Placeholder for Special Summary example
Suppose that you wanted to create a master/detail report that would list the
highest paid employee(s) for each department. The output below shows a sample
of what you would get:
Dname ACCOUNTING Loc NEW YORK Highest Paid
Employee(s):
Ename Job Sal
CLARK MANAGER 2450.00 KING
KING PRESIDENT 5000.00
MILLER CLERK 1300.00
Dname RESEARCH Loc DALLAS Highest Paid
Employee(s):
Ename Job Sal
SMITH CLERK 800.00 SCOTT and FORD
JONES MANAGER 2975.00
SCOTT ANALYST 3000.00
ADAMS CLERK 1100.00
FORD ANALYST 3000.00
To get the names of the highest paid employee(s), you create a placeholder
column named HIGHEST_PAID_EMP of Datatype Character. The value of
HIGHEST_PAID_EMP is set by a formula column named SET_HIGHEST_PAID_EMP of
Datatype Character. R_COUNT is a summary column with a Function of Count.
SET_HIGHEST_PAID_EMP contains the following PL/SQL function in Formula:
function set_plch_high_emp return character is
begin
/* Check if we are at first record in child, if so,
then reset placeholder */
if (:r_count <= 1) then
:highest_paid_emp := ' ';
end if;
/* Does this child record compare to the max sal
for the dept ? If yes, and placeholder already
set (i.e. we have more than one max sal) set the
placeholder to the concatenated string. Else
set the placeholder to the employee's name */
if (:sal = :max_dept_sal) then
if (:highest_paid_emp <> ' ') then
:highest_paid_emp := :highest_paid_emp||' and '
||:ename;
else
:highest_paid_emp := :ename;
end if;
end if;
return (:highest_paid_emp);
end;
The variable :max_dept_sal is not defined. Where I will be defined and what is
its code.
many Thanks.

Hello
Votre nom me rappelait quelque chose mais sans plus de précision.
Apple met à notre disposition des Guides utilisateurs fort bien faits, encore faut-il les télécharger.
C'est en tous les cas la solution lorsque l'on a acheté un numéro de série pour débrider la version d'essai.
Je ne sais pas ce qu'il en est de la version DVD.
Il existe 18 versions localisées, 7 guides. Sauf erreur, ça fait 126 PDFs se baladant entre 100 Ko et 16 Mo.
Ce serait du délire de mettre ça dans l'image disque téléchargeable.
Yvan KOENIG (VALLAURIS, France) mercredi 7 octobre 2009 19:06:00

Similar Messages

  • Error when editing region of the placeholder

    I defined a placeholder using the following documentation
    http://www.oracle.com/technology/products/content-management/ucm/sitestudio10gr4tutorials/AddingContent/addingcontent_viewlet_swf.html
    To summarize, following are the steps that I followed
    1. Created following site assets
         a. One element definition with name BodyContent of wysiwyg
         b. One region definition of name SampleRegionDef. Then added the above element to this region definition
         c. One region template by choosing SampleRegionDef as region def with name SampleRegionTemp. Then inserted the BodyContent element in the region template page. there is no other content in the region template
         d. One Placeholder definition with name SamplePlaceHolderDef and selected the SampleRegionDef as the region and SampleRegionTemp as the template.
    2. Next I have created a place holder with name SamplePlaceHolder and selected the SamplePlaceHolderDef for primary and secondary pages.
    3. I placed the SamplePlaceHolder on the home page.
    4. I assigned a new contributor data file to the place holder (region template)
    After doing this I launched the site in contributor mode. I noticed edit icon apperaing for the placeholder. I cliked on edit icon and I see the below error message
    ==========================================================================================
    Error
    Unable to perform the action due to the following reasons:
    [+] The Region Definition could not be loaded. The required parameter 'regionDefinition' could not be found.
    =========================================================================================
    What could be the problem? Ithere anything more needed to be done here?
    Regards,
    Pratap

    Hi Pratap,
    Double click on the placeholder that is on you template page
    Click on the check box optionally specify place holder definition
    Select your place holder definition file from the drop down.
    Save template page open in browser go to contribution mode.
    Have already done this?
    regards,
    deepak

  • Placeholder column's "initial value"

    Hello,
    I have a report with 2 queries, the master query contains some placeholder columns, and the detail query contains a formula column that sets values for these placeholders:
    - MASTERQUERY: database columns, PlaceHolder1, PlaceHolder2, PlaceHolder3
    |
    |
    -- DETAILQUERY (linked to MASTERQUERY): database columns, CF_PlaceHolder_Changer (change values of PlaceHolderX)
    The problem is: for a particular record of MASTERQUERY, if the DETAILQUERY doesn't have any row then PlaceHolders are not set.
    (They will keep the values from previous MASTER record). Is there any way that I can specify "initial value" for placeholder columns?
    And another question: what is the formula attached to the placeholder used for?
    Please help!

    You could have a "count" column in the master group that determines how many rows are in the detail group. Then alter the value of the field displaying the placeholder value by adding a format trigger with srw.set_field_char/date/number(0, <initial value>); when the count is '0'.

  • HTML 5 Contact Form "Placeholder" instead of label makes form validation not work

    Hi,
    I am trying to implement a HTML 5 contact form which uses a "placeholder" within the field instead of a label. But now the form validation does not work.
    The site is at http://www.partnerrealestate.ch/avenuedefrance23/index.html and it is not using any workflows from BC as the person receiving it is an external person and the process does not require a workflow.
    Would appreciate any input into this.
    Kindest Regards,
    corina

    There is no label on input fields. The form does not work because you have edited the names. BC needs the ID and names to be as it is issue when you create the form so it knows what to use for the validation and what information to pass into the database.
    So where you have edited these, you need to restore those.
    You have some invalid html on some input's as well one has input="" inside of it when rendered so that is not right.
    It is not to do with placeholder use. So fix up your HTML errors, correct the name and ID changes and it will work fine.

  • Sum function within if/then/else (xdofx:if)

    I'm attempting to display a total at a particular group within my report. This total is conditional and should choose to display a placeholder value or the sum of another placeholder value (in a child group).
    I have been able to vary my output based on the value I want to check: FIXED_QUOTE_FLAG - I have the if/then/else working in a simplified fashion
    I can display literals and some placeholders correctlly eg. print a literal value of 00110011 or the value of placeholder QUOTED_PRICE
    I can also display a calculated placeholder, using sum within the group I am concerned with: sum (current-group()/ACTIVITY_CHRG)
    But when I try to get everythign working together ...
    I cannot get the sum to work inside the if/then/else condition. The result is NULL (blank in HTML output).
    The following is the snippet which is not working correctly:
    <?xdofx:if FIXED_QUOTE_FLAG = 'Y' then QUOTED_PRICE else sum (current-group()/ACTIVITY_CHRG) end if?>
    Message was edited by:
    gareth_adamson

    To answer you first question, perhaps sum is not a supported function in the xdofx namespace. It's annoying when this problem comes up because xdofx namespace seems to be the only way to do if then else clauses. I'm not entirely certain on the above, but you could resort to using BI Publisher's built-in if statement.
    For your problem, something like this:
    <?if: FIXED_QUOTE_FLAG='Y'?>
    QUOTED_PRICE
    <?end if?>
    <?if: FIXED_QUOTE_FLAG!='Y'?>
    <?sum(current-group()/ACTIVITY_CHRG)?>
    <?end if?>
    EDIT:
    There is a way to do if else without xdofx namespace. It is done with <?choose:?> <?when:?> and <?otherwise:?> tags. Here is example syntax copied from Tim Dexter's blog:
    <?choose:?>
    <?when:count(TRX_NUMBER) > 0?>
    Invoice Table
    <?end when?>
    <?otherwise:?>
    No Data Found
    <?end otherwise?>
    <?end choose?>
    To answer the second question about a running total, you will need to use the <?xdoxslt:set_variable($_XDOCTX,'var_name',var_value)?> and the <?xdoxslt:get_variable($_XDOCTX,'var_name')?>. This method of working with variables is the only method that allows you to update a variable. This makes it good for running totals. Consult the official user guide under "Creating an RTF Template" the section about using variables and calculating running totals.
    So, in your problem, once you get the first part working, you will have to add that value to your running total. It will look something like this:
    <?xdoxslt:set_variable($_XDOCTX,'running_total',xdoxslt:get_variable($_XDOCTX,'running_total') + conditional_value)?>
    Remember to initialize the running total to zero! Hope this helps.
    Thanks,
    Matt Soukup
    Message was edited by:
    Matt Soukup

  • Can I edit image size in the TOC?

    Is it possible to edit the size of the image placeholder used for the TOC in CP5?
    I'd like to use it for a company logo to free up some design space and keep marketing happy, but I can't make it big enough.
    Unfortunately I don't have access to Flash so if there is an alternative way that would be great.
    Thanks
    Sam

    Hi,
    Unfortunately, it is not possible to edit the size of the image placeholder in TOC in Captivate 5. The image is scaled down to project size and displayed in the TOC.
    You could please log a Feature Request for the same under https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=5.
    Thanks,
    Sushma

  • Error while login to UCM console.

    Hi,
    I am getting below error while login with 'weblogic' in UCM 11g console "http://server IP: 16200/cs"
    "Content Server Request Failed
    Unable to load the user information. Possible database connection failure encountered. Error message: (!csDbUnableToCreateResultSet,Quser(SELECT * FROM Users WHERE LOWER(dName) = LOWER('weblogic'))!$Closed Connection). java.sql.SQLException: Closed Connection. "
    Because of this we are not getting any content on our custom application pages, that we have integrated through placeholder (using site studio for external application).
    Please help!!
    Regards,
    Kundan
    Edited by: Kundan on Jan 24, 2011 1:00 PM

    Hi
    As Yannick mentioned it looks like that the DB is shutdown or the listener is not up and running .
    Check and verify that all is fine with DB end and then see if the issue still persists . Better would be do a full restart for DB to kill and clean all the existing connections for UCM from DB .
    Thanks
    Srinath

  • Picture size is too small on iWeb

    When I visit my web site and click on the "Play Slideshow' button, all I get are small (say 3R size in the world of printed photos) images. How can I get my photos to display a "full screen" mode? It seems viewers of our iWeb pages have to strain their eyes to see such small images. How do i fix this??? Why cannot I not utilize the whole screen????
    I only have about 1 dozen photos loaded on the site. I used the photos template and draged them onto the placeholder using FINDER.

    My site is password protected, but here are the details.
    Site http://web.mac.com/keithekennedy
    User Name: Kennedy
    Password: 05/14/1990
    I DO USE THE INSPECTOR TOOL AND HAVE IT SET ON FULL SCREEN MODE, BUT THAT HAS NO EFFECT. THE PHOTOS ARE ALL JPG. AND THE IMAGE SIZE IS 6 x 4 or larger. I ALSO HAVE THE SETTING ON "NO" TRANSITION EFFECTS.

  • Multi line HTML data formatting on SSRS reprot

    Hi
    I am  using SQL Server Reporting Services 2008 , data fetching by Project server database,data value is getting by multi line rich text field.
    when showing same data in HTML format
    on ssrs reports its shows every style what ever user copy and paste on particular field like font size ,colors and them.
    I have requirement to show unique font size and unique family font,I am unable to achieve this using lot of placeholder properties.
    below u can find the example
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Sharepoint and EPM Consultant,TCS
    |
    | Twitter

    Hi Hasan,
    According to your description that the some of the report data retrieved by multi line rich text field, which style show differently in the report, you have tried to create the placeholder using the HTML tag to format the data
    but failed to achieve, right?
    The issue due to the rich text formatting is not supported in SSRS 2008, Currently, you have mentioned that you tried to using the HTML tag to reformat the text but failed, that may due to Reporting Services support limit HTML tags when defined as placeholder
    text. Please see:
    • Hyperlinks: <A href>
    • Fonts: <FONT>
    • Header, style and block elements: <H{n}>, <DIV>, <SPAN>,<P>, <DIV>, <LI>, <HN>
    • Text format: <B>, <I>, <U>, <S>
    • List handling: <OL>, <UL>, <LI>
    In your scenario, I recommend you to take reference of method below to get the unique format text.
    Check the supported HTML tag and using the correct tag to format
    If you want to get the RTF format:
    If using Report Viewer Windows control, we can render the RTF file into IMG file, and then display the image on the report.
    Nayan Patel written good artilce about this:
    http://binaryworld.net/Main/CodeDetail.aspx?CodeId=4049
    This article give us the idea to convert RTF to image and then display on the report.
    You can also convert the RTF text to the plain text which by default in the report:
    Article have details method about the convert for your reference:
    http://stackoverflow.com/questions/2987501/rtf-to-text-in-sql-server
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0f70e01f-6315-400c-bc75-c7da5f324062/displaying-rtf-text-in-a-ssrs-2008-report?forum=sqlreportingservices
    Similar threads for your reference:
    RTF in SSRS - SQL 2008 R2
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0f70e01f-6315-400c-bc75-c7da5f324062/displaying-rtf-text-in-a-ssrs-2008-report?forum=sqlreportingservices
    Personally, I recommend you that submit this suggestion at 
    https://connect.microsoft.com/SQLServer/. If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next release of SQL Server. Your feedback is valuable for us to improve our products and increase
    the level of service provided.
    Thanks for your understanding.
    Regards
    Vicky Liu

  • Custom Mail Stationery Placeholders freeze

    So I'm making a custom stationery with lots of placeholders for images.
    I've finished making it, but there's just one error.
    Whenever I drag a photo from one placeholder to another it freezes.
    I've been trying to find answers online to no avail.
    I've used it on multiple computers, also to no avail.
    Thanks any help is appreciated.

    Having the same issue here!
    While my stationery template with 1 placeholder used to work very well in Leopard, it now freezes when replacing the placeholder image in Lion (Mail 5.2).

  • Recursive node and Non Recursive node

    Hi,
    What is the difference between Recursive node and Non Recursive node ?
    Thanks,
    Teja

    Hi Teja
    Recursive node
    If you wish to represent a recursive data structure within the context, a recursive node is the correct node to use. The simplest example of recursive data within a hierarchical structure is a file system. A dictionary can contain either files or subdirectories. This definition is then repeated for each subdirectory level down the hierarchy.
    Within the context, a recursive node is a special node that has only two properties: name and repeatedNode. As with any context node, a recursive node must itself name, but the repeatedNode property is where the recursion is defined. This property holds a reference to some parent node and indicates that, at runtime, the location of the recursive node will be occupied by a node of the type indicated in the repeatedNode property.
    You should think of a recursive node as a design time placeholder used to indicate a node will be created at this location at runtime, and will be of the type named in the repeatedNode property.
    The node name identified by repeatedNode must lie on the direct path back to the context root node.
    When a recursive node is created at runtime it always created as a non-singleton node. This is a hard-coded feature and cannot be changed.
    Non recursive node is opposite to recursive node
    Regards
    Ruturaj

  • Import online image

    Hi people,
    I'm new to Photoshop scripting and i'm trying to create a script that creates a new layer and imports an online image based on selection made by user (to import placeholder using placehold.it)
              var document = app.activeDocument; 
              var width = document.selection.bounds[2].replace(' px','');
              var height = document.selection.bounds[3].replace(' px','');
              app.open(new File("http://placehold.it/"+width + "x" + height)); // Here is my problem I can't import an image like that
              app.activeDocument.activeLayer.copy();
              app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
              document.paste();
    So is there a way to open a distant image from jsx ?

    I do not like the way you need to configure panels for each version of Photoshop using the latest version of the configurator. Why do you need a different install for each version of Photoshop. I rather just install a Photoshop scripts that work with all versions of Photoshop. Panels just take up additional space as it is  Photoshop has too many pallets and panels. I see little difference in having an addition GUI panel or Having an additional Script dialog, If you need fast access to your script you can always create an action with an assigned F key that uses the script you want quick access to. Faster then maintaining Panels installation for each Photoshop version installing then and using them. I do realize this is my opinion your may differ.

  • Powerpoint add-on project

    This is my code for a powerpoint add-on writtin in C# visual studio to pull out hidden text (which will be text in the notes of the slide) in each slide as the slide is visited in a slideshow and convert it to audio.  First is to pull out the text in
    the notes when the slide is visited and display as a message which isn't quite working in the code below.  At the moment when the code is ran it just opens powerpoint and nothing else seems to be working. There might be somewhere I'm going wrong.  
    I've added the for loop in the events to try to iterate through the shapes to find the one which is the notes placeholder.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Xml.Linq;
    using PowerPoint = Microsoft.Office.Interop.PowerPoint;
    using Office = Microsoft.Office.Core;
    using Microsoft.Office.Interop.PowerPoint;
    using System.Speech.Synthesis;
    namespace FirstPowerPointAddIn
        public partial class ThisAddIn
             private void ThisAddIn_Startup(object sender, System.EventArgs e) 
                /*  //connect the Application_PresentationNewSlide event handler with the PresentationNewSlide event.
                  this.Application.PresentationNewSlide +=
                  new PowerPoint.EApplication_PresentationNewSlideEventHandler(
                  Application_PresentationNewSlide); */
                 SpeechSynthesizer synth = new SpeechSynthesizer();
                // Configure the audio output. 
                synth.SetOutputToDefaultAudioDevice();
             PowerPoint.Application oPowerPoint = null;
             try
                    oPowerPoint.SlideShowBegin += oPowerPoint_SlideShowBegin;
                    oPowerPoint.SlideShowNextSlide += oPowerPoint_SlideShowNextSlide;
                catch(Exception)
                    Console.WriteLine("error");
            private void ThisAddIn_Shutdown(object Pender, System.EventArgs e)
            private void oPowerPoint_SlideShowBegin(SlideShowWindow Wn) 
                for (int i = 0; i < Wn.View.Slide.NotesPage.Shapes.Count; i++)
                    // If the slide has notes, get the notes
                    if (Wn.View.Slide.HasNotesPage == Microsoft.Office.Core.MsoTriState.msoTrue)
                        if (Wn.View.Slide.NotesPage.Shapes[i].TextFrame.HasText == Microsoft.Office.Core.MsoTriState.msoTrue)
                            System.Windows.Forms.MessageBox.Show(Wn.View.Slide.NotesPage.Shapes[i].TextFrame.TextRange.Text);
            void oPowerPoint_SlideShowNextSlide(PowerPoint.SlideShowWindow Wn)
                for (int i = 0; i < Wn.View.Slide.NotesPage.Shapes.Count; i++)
                    if (Wn.View.Slide.HasNotesPage == Microsoft.Office.Core.MsoTriState.msoTrue)
                        if (Wn.View.Slide.NotesPage.Shapes[i].TextFrame.HasText == Microsoft.Office.Core.MsoTriState.msoTrue)
                            System.Windows.Forms.MessageBox.Show(Wn.View.Slide.NotesPage.Shapes[i].TextFrame.TextRange.Text);
            #region VSTO generated code
            /// <summary>
            /// Required method for Designer support - do not modify
            /// the contents of this method with the code editor.
            /// </summary>
            private void InternalStartup()
                this.Startup += new System.EventHandler(ThisAddIn_Startup);
                this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);
            #endregion

    Or possibly over here.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsto
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Querying a database

    Basic question.
    What does the "?1" mean in the following string (is it the parameter one) ?
    I'm used to use the simple "?", but rarely have seen "?1" or "?2", etc...
    public MyProc( PrimaryKey PK1){
    String query = "select COL1 from TABLE1 where PK1 =?1";
    Thanks,
    ltcmelo

    Hi.
    In Oracle, bind variables can have placeholde using[b] :<int> e.g. :1, :2 etc
    Theoretically one should be allowed to do this :name1 , :name2 , etc but you can't because of a bug in the JDBC (has it been rectified? )
    However JDBC standard bind variable placeholder uses ? , which is what I use.
    As far as I am aware, you cannot index a JDBC bind variable, they go by their position number
    Better stick to standards, but do tell if you find out otherwise.
    HTH :-)

  • Error while Adding the PlaceHolder to Home Page using Jdev,UCM

    Hi,
    I am Using UCM and Jdev 11g.
    I was creating a website using Oracle® Fusion Middleware Developer's Guide for Site Studio for External Applications
    11g Release 1 (11.1.1).
    I worked fine till creating the place Holder Definition , I was trying to add place holder to Home Page.
    In this step I did not get the property 'Switch Placeholder Definition Role' in the List when exploring the node WebSite.
    Plaese help me resolve this.

    Hi chris,
    Thank you for your response.
    I am using oracle db. It seems that it is trying to insert record into L10_Locale table while portlet is added into home page. Does the record go to L10_LOCALE while adding portlet.
    As per my knowledge, records goes to desktop,page and placement related tables while portlet is added.
    When i see the L10_LOCALE existing records, it has two 2 records.
    Encoding Language Country
    UTF-8 en US
    UTF-8 en
    you said that Locale for the title or description is too long... Is it for Portlet's title of locale ...?
    Then, what is the relation of title and this error ...
    Please clarify this ...?
    Regards,
    Senthil

Maybe you are looking for

  • New DVD drive issues on DV6000 series.

    I just got my replacement drive from hp. I pulled the old drive and got the new one in yesterday. The driver installed on restart and seemed to be fine, i just ripped a couple of cds to itunes. The DVD side is giving me trouble though. I can't change

  • Vanishing Mail

    I was recently having trouble receiving an emails. After some trial and error, here is what I was able to determine: 1. Checking my IMAP account with SquirllMail (webmail) revealed that messages were delivered as expected when mail.app was not runnin

  • Searching for a text file

    hi i want to search for a file in the same folder as my project and read the contents of that file ... i know how to read from text file but i just need to know how i can search in the folder to look for a txt file called me.txt and open it for readi

  • PROBLEMS IMPORTING FROM VCR!

    1-When importing from a VCR on FCPRO 10.1.1, the image in the import window is not fluid but jurky and unstable! ANYONE HAVING THAT PROBLEM? 2-Still importing, the left arrow often switch the import unit from the vdr to an external drive instead of p

  • Want to save data

    Hello Experts, I have created an interactive form for test, it has one text field and one numc field. I have created structure with fields one text and one numc. I have created form using SFP.  I want to save the data in the structure if user enters