Using a stored item on page 0

I'd like to create a hidden item on page 0 to store and item's value I will have the end user choose on page 1. How do I ensure that value is cascaded to the subsequent pages so the reports are filtered based off the chosen value?

Please tell us your first name and update your forum profile with it to help us. Thanks.
do i need to create a hidden item on each report page?No. Page 0 items appear on every page.
if not how do i make sure the page utilizes that page 0 item?Reference the item by its name wherever you need to. If you have a report on page 1 that uses item P0_SEARCH, then reference it in the report (:P0_SEARCH or v('P0_SEARCH')).
Do i need to update the SQL in the where clauseYes.
and also update the bread crumb link in the shared components area?I don't see how breadcrumbs are related to this.
Finally, experiment. It should become clear soon.
Scott

Similar Messages

  • I have a web page that uses a library item( !-- #BeginLibraryItem "/lib/topnav_main.lbi" -- ) . I

    I have a web page that uses a library item( <!-- #BeginLibraryItem "/lib/topnav_main.lbi" --> ) . I have made a change to topnav_main.lbi but don't know how to get it updated to the web page .  It is a heading and is used in many places. Can you help me?

    For websphere specific questions you might try:
    http://www.websphere-world.com/
    and the
    ibm.software.websphere.application-server.*
    newsgroups.
    Regards,
    S. Bro

  • Looking for some help with using Oracle stored procedures in vb2010

    First off thank you to whoever lends me a hand with my problem. A little background first I am in a software development class and we are currently building our program using VB (I have no experience in this), and Oracle(currently in a Oracle class so I know how to use Oracle itself just not with VB).
    I am using vb2010 express edition if that helps. Currently I have a stored procedure that takes a 4char "ID" that returns a position (ie, salesperson,manager ect). I want to use the position returned to determine what vb form is displayed (this is acting as a login as you dont want a salesperson accessing the accountants page for payroll ect).
    Here is the code I have currently on the login page of my VB form
    Imports Oracle.DataAccess.Client
    Imports Oracle.DataAccess.Types
    Public Class Login
    Dim conn As New OracleConnection
    Private Sub empID_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles empID.Click
    End Sub
    Private Sub LoginBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginBtn.Click
    conn.ConnectionString = "User ID = Auto" & _
    ";Password = ********" & _
    ";Data Source = XE"
    conn.Open()
    Dim sq1 As String = "Return_Position" 'name of procedure
    Dim cmd As New OracleCommand(sq1, conn)
    cmd.CommandType = CommandType.StoredProcedure
    cmd.Parameters.Add(New OracleParameter("I_EmpID", OracleDbType.Char, 4)).Value = Emp_ID.Text
    Dim dataReader As OracleDataReader = cmd.ExecuteReader
    dataReader.Read()
    Dim position As New ListBox
    position.Items.Add(dataReader.GetString(0)) 'were I am getting an error, I also tried using the dataReader.getstring(0) to store its value in a string but its a no go
    If position.FindStringExact("MANAGER") = "MANAGER" Then
    Me.Hide()
    Dim CallMenu As New Menu()
    CallMenu.ShowDialog()
    End If
    LoginBtn.Enabled = False
    End Sub
    I have read the oracle.net developer guide for using oracle in vb2010 and have successfully gotten through the document however they never use a stored procedure, since the teacher wants this program to user a layered architecture I cannot directly store sql queries like the document does, thus the reason I want to use stored procedures.
    This is getting frustrating getting stuck with this having no background in VB, I could easily do this in c++ using file i/o even through it would be a pain in the rear....

    Hello,
    I am calling Oracle 11g stored procedures from VB.Net 2010. Here is a code sample (based on your code) you should be able to successfully implement in your application.
    Please note that you may have to modify your stored procedure to include an OUT parameter (the employee position) if it doesn't have it yet.
    Private Sub LoginBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginBtn.Click
    Dim sProcedureName As String = "Return_Position" 'name of stored procedure
    Dim ORConn as OracleConnection, sConn as String
    Dim sPosition as String, sDataSource as String, sSchema as String, sPWD as String
    Dim cmd As OracleCommand
    'please provide below sDataSource, sSchema and sPWD in order to connect to your Oracle DB
    sConn = "Data Source=" & sDataSource & ";User Id=" & sSchema & ";Password=" & sPWD & ";"
    ORConn = New OracleConnection(sConn)
    ORConn.Open()
    cmd = New OracleCommand(sProcedureName, ORConn)
    With cmd
    .CommandType = Data.CommandType.StoredProcedure
    'input parameter in your stored procedure is EmpId
    .Parameters.Add("EmpID", OracleDbType.Varchar2).Value = Emp_ID.Text
    .Parameters.Item("EmpID").Direction = ParameterDirection.Input
    'output parameter in your stored procedure is Emp_Position
    .Parameters.Add("Emp_Position", OracleDbType.Varchar2).Direction = ParameterDirection.Output
    .Parameters.Item("Emp_Position").Size = 50 'max number of characters for employee position
    Try
    .ExecuteNonQuery()
    Catch ex As Exception
    MsgBox(ex.Message)
    Exit sub
    End Try
    End With
    sPosition = cmd.Parameters.Item("Emp_Position").Value.ToString
    'close Oracle command
    If Not Cmd Is Nothing Then Cmd.Dispose()
    Cmd = Nothing
    'close Oracle connection
    If Not ORConn Is Nothing Then
    If not ORConn.State = 0 Then
    ORConn.Close()
    End If
    ORConn.Dispose()
    End If
    ORConn = Nothing
    If UCase(sPosition) = "MANAGER" Then
    Me.Hide()
    Dim CallMenu As New Menu()
    CallMenu.ShowDialog()
    End If
    LoginBtn.Enabled = False
    End Sub
    If you need further assistance with the code, please let me know.
    Regards,
    M. R.

  • [Forum FAQ] How do i use xml stored in database as dataset in SQL Server Reporting Services?

    Introduction
    There is a scenario that users want to create SSRS report, the xml used to retrieve data for the report is stored in table of database. Since the data source is not of XML type, when we create data source for the report, we could not select XML as Data Source
    type. Is there a way that we can create a dataset that is based on data of XML type, and retrieve report data from the dataset?
    Solution
    In this article, I will demonstrate how to use xml stored in database as dataset in SSRS reports.
    Supposing the original xml stored in database is like below:
    <Customers>
    <Customer ID="11">
    <FirstName>Bobby</FirstName>
    <LastName>Moore</LastName>
    </Customer>
    <Customer ID="20">
    <FirstName>Crystal</FirstName>
    <LastName>Hu</LastName>
    </Customer>
    </Customers>
    Now we can create an SSRS report and use the data of xml type as dataset by following steps:
    In database, create a stored procedure to retrieve the data for the report in SQL Server Management Studio (SSMS) with the following query:
    CREATE PROCEDURE xml_report
    AS
    DECLARE @xmlDoc XML;  
    SELECT @xmlDoc = xmlVal FROM xmlTbl WHERE id=1;
    SELECT T.c.value('(@ID)','int') AS ID,     
    T.c.value('(FirstName[1])','varchar(99)') AS firstName,     
    T.c.value('(LastName[1])','varchar(99)') AS lastName
    FROM   
    @xmlDoc.nodes('/Customers/Customer') T(c)
    GO
    P.S. This is an example for a given structured XML, to retrieve node values from different structured XMLs, you can reference here.
    Click Start, point to All Programs, point to Microsoft SQL Server, and then click Business Intelligence Development Studio (BIDS) OR SQL Server Data Tools (SSDT). If this is the first time we have opened SQL Server Data Tools, click Business Intelligence
    Settings for the default environment settings.
    On the File menu, point to New, and then click Project.
    In the Project Types list, click Business Intelligence Projects.
    In the Templates list, click Report Server Project.
    In Name, type project name. 
    Click OK to create the project. 
    In Solution Explorer, right-click Reports, point to Add, and click New Item.
    In the Add New Item dialog box, under Templates, click Report.
    In Name, type report name and then click Add.
    In the Report Data pane, right-click Data Sources and click Add Data Source.
    For an embedded data source, verify that Embedded connection is selected. From the Type drop-down list, select a data source type; for example, Microsoft SQL Server or OLE DB. Type the connection string directly or click Edit to open the Connection Properties
    dialog box and select Server name and database name from the drop down list.
    For a shared data source, verify that Use shared data source reference is selected, then select a data source from the drop down list.
    Right-click DataSets and click Add Dataset, type a name for the dataset or accept the default name, then check Use a dataset embedded in my report. Select the name of an existing Data source from drop down list. Set Query type to StoredProcedure, then select
    xml_report from drop down list.
    In the Toolbox, click Table, and then click on the design surface.
    In the Report Data pane, expand the dataset we created above to display the fields.
    Drag the fields from the dataset to the cells of the table.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    I have near about 30 matrics. so I need a paging. I did every thing as per this post and it really works for me.
    I have total four columns. On one page it should show three and the remaining one will be moved to next page.
    Problem occurs when in my first row i have 3 columns and in next page if I have one columns then it show proper on first page but on second page also it gives me three columns insted of one. the first column data is exactly what I have but in remaining two
    columns it shows some garbage data.
    I have data like below.
    Metric ColumnNo RowNo
    1 1
    1
    2 2
    1
    3 3
    1
    4 1
    2
    so while grouping i have a row parent group on RowNo and Column group on ColumnNo.
    can anyone please advice on this.

  • LDAP call using a stored function

    I am trying to use one of our stored function with the HMTLDB database (like LDAP_GET_FIRST_NAME) within an HTMLDB application. When I issue the following command within SQLPLUS
    select cw_ldap_get_first_name('<my_ldap_name>', '<my_password>') from dual;
    my first name is displayed by SQLPLUS.
    My question is how do I get the my password with HTMLDB?
    Do I need to capture it as login time?
    Is there a global variable?
    Does anyone have any sample code that I can use that will help me run a stored function with HTMLDB and return it into an page ITEM or global ITEM?
    Thanks,
    Alan

    Chet and Scott,
    Thank you both. You both help out. It works and I am very greatful, I can not move forward.
    Scott you comments reminded me that I was want authenticating using LDAP. My HTMLDB account is the same as my LDAP but with a different password to login as a developer.
    Chet you comments helped with things that I was not aware of (like the clearing of the cache after login). So what I did was create an Afte Submit PL/SQL anonymous block in Page Processing Process section after the Get Username Cookie and before the Login. This way I was able to populate the Page 2 page ITEMS.
    The After Submit processes were section looks like this:
    10 Set Username Cookie
    15 Ldap Info
    20 Login
    30 Clear
    Thanks again ... Great Job ... Great Support
    Alan
    Posts: 108
    From: Gainesville, FL
    Registered: 1/24/02
    Re: LDAP call using a stored function
    Posted: Sep 13, 2005 4:50 PM in response to: alanhauptman Reply
    If you are using the default login page, which it looks like you are, you won't have access to those page items on page 2. There is a clear cache process that runs after login which...clears the cache on page 101. If you remove it, you should have access to those items on page 2. I would only use this for testing purposes because :P101_PASSWORD is still hanging around.
    That looks right to me. I am sure you know this, but you don't have to explicitly declare the variables (I am guessing you are at your wit's end trying to figure it out).
    Could you try a SELECT INTO from the table you are trying to get the first name from (as opposed to the function call)? That might help to narrow down the problem...
    chet
    sspadafo
    Posts: 3,490
    Registered: 1/10/01
    Re: LDAP call using a stored function
    Posted: Sep 13, 2005 5:23 PM in response to: Chet Justice Reply
    Alan - You must be using LDAP authentication in the application...
    You might look into using an LDAP utility that does an anonymous bind so that no password is required for simple lookups.
    Scott

  • Placing library item into page

    This script for placing library item into page and applying object style to the item. In line 16, script shows that "assets" property does not support. Please resolve this.
    if (app.documents.length==0){
        alert("Please open the Document");
        exit();
    if (app.libraries.length==0){
        alert("Please open the Library");
        exit();
    app.findTextPreferences=app.changeTextPreferences=null;
    app.findTextPreferences.appliedParagraphStyle="MN";
    var myfound=app.activeDocument.findText();
    alert(myfound.length);
    for(i=0; i<myfound.length; i++){
    var mylib=app.libraries.assets.itemByName("Box").placeAsset(myfound[i].insertionPoints[0]);
    var mymove=myfound[i].move(LocationOptions.atBeginning, mylib.insertionPoints[0])
    mylib.appliedObjectStyle="MN_Obj";

    To make that work, you have to address an open library (line 16).
    app.libraries describes the collection of all open libraries, not a distinct one.
    If only one library is open you could address the one with its index:
    app.libraries[0]
    If you already know the name of the library or better, the exact path of the library, you can:
    1. Make sure to open it
    2. Call it by its name
    Let's assume you know the name and you know that the asset you want to place is stored inside, you could do it this way:
    app.libraries.itemByName("TheNameOfTheLibrary").assets.itemByName("Box").placeAsset(
    /*Wherever you want*/
    Now, what will this line return?
    A library object? Hardly. So be cautious with using a variable name like "mylib".
    According to documentation it is returning an Array, and we can assume, that in this array is the object that is placed out of the library. Your asset stored in the library which goes by the name of "Box". Whatever that is.
    If you want to find out, you can use the following, more descriptive variable: "myPlacedAsset". That sounds more neutral.
    var myPlacedAsset = app.libraries.itemByName("TheNameOfTheLibrary").assets.itemByName("Box").placeAsset(
    /*Wherever you want*/
    Using the ESTK (ExtendScript Toolkit) together with $.writeln() can write the true nature of the placed asset to your JavaScript Console:
    $.writeln(myPlacedAsset.constructor.name);
    is informing you what kind of object "myPlacedAsset" really is. If indeed it is an Array, you could look for its length. If its length is "1", you get to the "heart" of your placed object by:
    $.writeln(myPlacedAsset[0].constructor.name);
    Or by that more inquisitory question:
    $.writeln(myPlacedAsset[0].getElements()[0].constructor.name);
    If your array is of a greater length, you have to loop through this array and question every single object!
    Before testing, exchange my comment "/*Wherever you want*/" with the code you like to use: Obviously the first insertion point of your found text. Hold on! This will backfire to you, because every time you place one instance of the asset you will add a character to your found text and shift the original insertionPoint. Better loop from back to forth or do the search from back to forth.
    Adobe InDesign CS6 (8.0) Object Model JS: Text
    Please, try that and report back…
    (Isn't noone reading the documentation these days?)
    Indesign JavaScript Help
    Adobe InDesign CS6 (8.0) Object Model JS: Table of Contents, Libraries Suite
    Adobe InDesign CS6 (8.0) Object Model JS: Library
    Adobe InDesign CS6 (8.0) Object Model JS: Asset
    Adobe InDesign CS6 (8.0) Object Model JS: Asset
    Uwe

  • XML Publisher Report EXCEL output Huge stored as Web Pages

    Hello
    I have a XML Publisher Report which generates EXCEL output and the output file size is huge.
    What I notice that it is stored as Web Pages *.htm; *.html (Save as Type) in Excel this is the reason it is huge.
    If I save as Microsoft Office Excel Workbook *.xls it Reduce the size.
    I don't know how to save as ".xls" through XML Publisher using PL/SQL.
    Any body knows? please Help..
    XML Publisher Template Builder for WORD
    Version 5.6 Build 45
    PATCH        BUG_NUMBER
    XDO.H     *3263588*
    4.5.0     *3554613*
    5.0.0     *3822219*
    5.5.0     *4206181*
    5.0.1     *4236958*
    5.6.0     *4561451*
    5.6.1     *4905678*
    5.6.2     *5097966*
    5.6.3     *5472959*
    Thanks.

    Hi Vetsrini,
    We're on 10.1.3.4.1 and siebel 8.1.1.3 and when trying to open a report from within siebel in the output format EXCEL (selected from the parameter applet), it just opens the document in the browser.
    Is there a way to get it to open directly in Excel? I guess the reason is the file extension*.EXCEL, how could we get the extension to be in excel format (xls)?
    We don't want our users to have to do this themself.
    Regards,
    Hakan

  • How to submit a bug report for OSB? - restore fails if number of items per page is changed from the default of 30

    In the OSB web gui, one of my users found that if the number of items per page is changed from the default of 30, the restore of the file will fail.  He tested this using recent versions of Firefox and IE.  We have verified this to also be the case using Chrome.
    In a directory containing over 100,000 files, moving 30 at a time to find the one to be restored is a very frustrating user experience.
    How do I file a bug report for this issue?  Is there a workaround for this bug to enable my users to more easily find the file to restore without being restricted to the default of 30 items per page?

    Yes there is a bug in the webtool in the current release. You can use the commandline obtool to do the restore, that is much faster and works fine.
    Thanks
    Rich

  • Item Level & Page Level Validation..

    Hi ,
    What is the difference between Item Level validation & Page Level validation..
    in which sceneario it will be useful.
    Anoo..
    Edited by: Anoo on Dec 16, 2008 5:04 AM

    Hi,
    From the APEX help:
    * Item level validations are specific to a single item.
    * Page level validations do not apply to any single item, but apply to an entire page.
    {code}
    Paulo Vale
    [http://apex-notes.blogspot.com]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Va01 upload using call transaction,item details r overwrite ,how to solve

    hi experts
       i here attached the coding what i did,while page down item details r over overwrite, how to sole ,give me the suggestions
    INCLUDE BDCRECX1.
    PARAMETERS: DATASET(132) LOWER CASE.
    DATA: BEGIN OF RECORD_HEAD,
            VBELN(10),
    data element: AUART
            AUART(004),
    data element: VKORG
            VKORG(004),
    data element: VTWEG
            VTWEG(002),
    data element: SPART
            SPART(002),
    DATA ELEMENT: KUNAG
            KUNNR(010),
    data element: KUNWE
            KUNNR_007(010),
    data element: BSTKD
            BSTKD(035),
        END OF RECORD_HEAD.
    DATA: BEGIN OF RECORD_ITEM,
    data element: VBELN
            VBELN(10),
    data element: MATNR
            MABNR(018),
    data element: KWMENG
            KWMENG(019),
          END OF RECORD_ITEM.
    End generated data section ***
    DATA: IT_SO_HEAD LIKE TABLE OF RECORD_HEAD,
          IT_SO_ITEM LIKE TABLE OF RECORD_ITEM,
          FLAG.
    data: counter type num value '1'.
    START-OF-SELECTION.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME            = 'C:\USERS\SANGEETHA\DESKTOP\SO_HEADER.TXT'
          FILETYPE            = 'ASC'
          HAS_FIELD_SEPARATOR = 'X'
        TABLES
          DATA_TAB            = IT_SO_HEAD.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME            = 'C:\USERS\SANGEETHA\DESKTOP\SO_ITEM.txt'
          FILETYPE            = 'ASC'
          HAS_FIELD_SEPARATOR = 'X'
        TABLES
          DATA_TAB            = IT_SO_ITEM.
    LOOP AT IT_SO_HEAD INTO RECORD_HEAD.
        AT NEW VBELN.
          FLAG = 'X'.
        ENDAT.
        PERFORM BDC_DYNPRO      USING 'SAPMV45A' '0101'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'VBAK-AUART'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM BDC_FIELD       USING 'VBAK-AUART'
                                      RECORD_HEAD-AUART.
        PERFORM BDC_FIELD       USING 'VBAK-VKORG'
                                      RECORD_HEAD-VKORG.
        PERFORM BDC_FIELD       USING 'VBAK-VTWEG'
                                      RECORD_HEAD-VTWEG.
        PERFORM BDC_FIELD       USING 'VBAK-SPART'
                                      RECORD_HEAD-SPART.
        PERFORM BDC_DYNPRO      USING 'SAPMV45A' '4001'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '/00'.           " Enter
        PERFORM BDC_FIELD       USING 'KUAGV-KUNNR'
                                      RECORD_HEAD-KUNNR.
        PERFORM BDC_FIELD       USING 'KUWEV-KUNNR'
                                      RECORD_HEAD-KUNNR_007.
        PERFORM BDC_FIELD       USING 'VBKD-BSTKD'
                                      RECORD_HEAD-BSTKD.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                          'RV45A-MABNR(01)'.
        LOOP AT IT_SO_ITEM INTO RECORD_ITEM WHERE VBELN = RECORD_HEAD-VBELN.
          IF FLAG = 'X'.
            PERFORM BDC_FIELD       USING 'RV45A-MABNR(01)'
                                          RECORD_ITEM-MABNR.
            PERFORM BDC_FIELD       USING 'RV45A-KWMENG(01)'
                                          RECORD_ITEM-KWMENG.
           PERFORM BDC_DYNPRO      USING 'SAPMV45A' '4001'.
           PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                 '=/00'.
            PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                         'RV45A-MABNR(02)'.
            CLEAR FLAG.
          ELSE.
            PERFORM BDC_FIELD       USING 'RV45A-MABNR(02)'
                                          RECORD_ITEM-MABNR.
            PERFORM BDC_FIELD       USING 'RV45A-KWMENG(02)'
                                          RECORD_ITEM-KWMENG.
            PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                          'RV45A-KWMENG(02)'.
            PERFORM BDC_DYNPRO      USING 'SAPMV45A' '4001'.
            PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                  '=p++'.
            PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                          'RV45A-MABNR(02)'.
               ENDIF.
        ENDLOOP.
          PERFORM BDC_DYNPRO      USING 'SAPMV45A' '4001'.
          PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                        '=SICH'.
         data : l_option like ctu_params.
                 l_option-dismode = CTUMODE.
                 l_option-updmode = CUPDATE.
                 l_option-defsize = 'X'.
          CALL TRANSACTION 'VA01' USING BDCDATA
                                  options from l_option
                                  MESSAGES INTO MESSTAB.
          CLEAR: BDCDATA,BDCDATA[].
      ENDLOOP.

    John - Its best to use  BAPI_SALESDOCU_CREATEFROMDATA1.
    But if you are still going to do a BDC, Do not use the pagedown  for new line items. Use the "Create Item" icon in the bottom of the screen. This way you can add as many items as you want and the cursor will always be in the second row of the table control.
    Please check the code below: Always enter in the 2nd row even for the first item. It should work.
    LOOP AT IT_SO_ITEM INTO RECORD_ITEM WHERE VBELN = RECORD_HEAD-VBELN.
    PERFORM BDC_FIELD USING 'RV45A-MABNR(02)'
    RECORD_ITEM-MABNR.
    PERFORM BDC_FIELD USING 'RV45A-KWMENG(02)'
    RECORD_ITEM-KWMENG.
    PERFORM BDC_DYNPRO USING 'SAPMV45A' '4001'.
    PERFORM BDC_FIELD USING 'BDC_OKCODE'
    '=POAN'.
    ENDIF.
    ENDLOOP
    reward points if helpful

  • Image instead of List Name, and hyperlink the image to view 'All Items.aspx' page

    Hi,
    I would like remove the Page title for list (i.e., name of the list in view all items.aspx page) , and instead use image and hyperlink the image
    to 'All items.aspx" page.
    Using developer tool found the element (#PageTitle) and added 'Script Editor' webpart and below css script to it. I am successful in replace the
    title to image, however, I am unable to add the HTML tag for hyperlink. Where do I need to add or how do I add? Could anyone help me please??
    <style type="text/css">
    #pageTitle
    background-image: url('http://w2k81368:2116/SiteAssets/Test.jpg');
    background-repeat:no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    </style>
    Regards,
    Sunitha

    Hi Sunitha,
    According to your description, my understanding is that you want to change the list title to an image.
    I recommend to add the code below to the list page:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function (){
    var s = "<img alt='SP' src='http://w2k81368:2116/SiteAssets/Test.jpg'>";
    var $t = $("#DeltaPlaceHolderPageTitleInTitleArea span span a");
    $t.html(s);
    </script>
    After that, the list title will change to the image and it will show allitems.aspx page when clicking the image.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Passing two variables in the body of the URL using the go to detail page SB in ASP

    Hi all,
    Would appreciate your assistance with the following, I'm
    trying to set up a go to detail page sb that passes two variable in
    the body of the URL rather than the standard one.
    The code i've tried is -
    <td><A HREF="gggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>&amp;"PCL1ID=" +
    othermenutwo.Fields.Item("PCL2PC1ID").Value
    %><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></A></td>
    Where the PCL1ID and the PCL2ID are the variables
    The normal code generated by the go to detail page sb with
    one variable is -
    <td><a href="ggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>"><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></a></td>
    Unfortunatley my code tweaking isn't working as the second
    variable isn't being sent, any help would be gratefully appreciated
    Thanks

    Instead of using DW's 'go to detail page' option, simply set
    up the link the manual way in DW using the Link browser. Select the
    file you want to link to and then use the parameters button at the
    bottom of the 'Select File' dialogue to set the parameters to be
    passed with the link. You can then manually set the name of the
    parameter to be passed and then select its value from a recordset.
    The key thing is that you can set as many parameters as you like,
    so you can set both the parameters you want.
    On the detail page you then filter by the parameter name you
    chose (or both).
    Personally I always code links this way rather than using the
    go to detail page option as you get much better control of what is
    going on.

  • Use of application Item with conditional validation

    Apex 3.2
    On a form, I have two lists :
    - Items TYPE contains A B C and D.
    - Item MANAGEMENT contains NULL, 1, 2 and 3.
    I want to validate that MANAGEMENT is not null only when the value in TYPE are A, B or C.
    I am using the condition "Value of Item in Expression 1 Is Contained within Colon Delimited List in Expression 2"
    I dont want to hard code these values (A B C) so I put them in an Application Item (I also need them somewhere else).
    If I use my application Item in the condition, the validation is not performed (I dont see it listed in debug mode.). If I use the real values (A B C), its working.
    Here's what I put in the Exp2 when using the application item :
    F126_CONST_BUSINESS_CASE:F126_CONST_PROJ_NON_PLANIFIE:F126_CONST_PROJ_PLANIFIE
    I also tried with the form v('F126_CONST_BUSINESS_CASE'): ...
    Any Idea ?
    Thanks in advance.

    Hi Amelie,
    You should consider centralizing your validations inside a package. It will make your code much more readable. In many cases, you won't have to modify your application to modify a validation.
    If your validations are required across different pages, consider having a main package or build package a package for each module (page or page groups).
    The following condition for a validation is easier to understand than "Value of Item in Expression 1 Is Contained within Colon Delimited List in Expression 2".
    Condition Type PL/SQL Expression:
    p1_valdt_pkg.is_item_mangm_mandt(:P1_ITEM_TYPE,:P1_ITEM_MANAGEMENT)
    create or replace function is_item_mangm_mandt (pva_item_type in varchar2,
    pva_item_mangm in varchar2)
    return boolean is
    vbo_valdt boolean default true;
    vva_const_business_case varchar2 (30) default v ('F126_CONST_BUSINESS_CASE');
    vva_const_proj_non_planifie varchar2 (30) default v ('F126_CONST_PROJ_NON_PLANIFIE');
    vva_const_proj_planifie varchar2 (30) default v ('F126_CONST_PROJ_PLANIFIE');
    begin
    if pva_item_mangm is null
    and pva_item_type in (vva_const_business_case, vva_const_proj_non_planifie, vva_const_proj_planifie) then
    vbo_valdt := false;
    end if;
    return vbo_valdt;
    exception
    when others then
    return false;
    end;
    Louis-Guillaume Carrier-Bédard
    My Blog: http://www.lgcarrier.com
    Twitter: http://www.twitter.com/lgcarrier
    APEX Québec: http://www.apexquebec.com
    APEXFramework: http://www.apexframework.com

  • Dynamically create javascripts using pl/sql code from page header

    I understand by placing a javascript code in the page header is one of the way adding javascript functionality to your pages.
    But lets say I need (dynamically) bring my javascripts into the page header using my pl/sql package/functions like core_func_jscript_pkg.get_jscript('jf_isnumber');
    1- How can I call my pl/sql package/functions from page header area of Apex?
    If I need to use 20 javascripts functions into a page which I have them stored in database (using them on my other pages) and I don't want to copy or re-write them in Apex, instead I like to have 20 line of calls to my pl/sql package like:
    core_func_jscript_pkg.get_jscript('myFirstJavascript');
    core_func_jscript_pkg.get_jscript('mySecondJavascript');
    core_func_jscript_pkg.get_jscript('myThirdJavascript');
    core_func_jscript_pkg.get_jscript('myFourthJavascript');
    ... and so on.
    2- In past we wrote our web apps using pl/sql example:
    htp.p('<html>');
    htp.p('<head>');
    core_func_jscript_pkg.get_jscript('jf_get_today_date');
    core_func_jscript_pkg.get_jscript('someothe_scripts');
    htp.p('</head>');
    htp.p('</html>');
    I like to do the same thing in Apex, Can I accomplish this in Apex?
    Thanks again
    -iahmadi

    There was a <head> content & dynamic metadata with APEX? that should provide some pointers.

  • Items and Pages completely disappear, version CC

    Document has items and pages that randomly disappear. I get them back most of the time by clicking on another page then going back to the page that disappeared. I have 12gb internal memory so rendering isn't an issue I don't think? I even took the time to rebuild the document on another .indd file. I'm using version CC and per creative cloud it is the latest update. I can't work like this when I have print deadlines!

    I solved my own problem!
    The issue is text threads. I went to view > extras > show text threads and noticed that my text box on page 3 was threading to a text box on page 15 which is why it showed the pages in between as blank. I re-threaded all the boxes properly and everything is great!  A good explanation and tutorial can be found here.
    http://www.youtube.com/watch?v=dUBGaVdmncA
    http://www.youtube.com/watch?v=YF68K_Z16_E
    I hope this helps someone else!

Maybe you are looking for

  • Using a variable in "arrayTerminatedBy" clause while using a file adapter

    Hi All, How can read a file of sample shown below using a file adapter. ABC|20081010| 2008|xxxxxxx| 2007|yyyy| 2009|zzzzzzz| 3|20081010| first line is the header last line is footer middle portion is the body '3' in the footer is the total no of reco

  • How do I set twice monthly events based on the week number

    Greetings all. I can't seem to navigate this help system, so hopefully I'm not reasking something that's already been asked. But I have a problem with iCal that I just can't figure out of find an answer to. I need to create a twice monthly event, but

  • Spry Autosuggest widget

    Hi all I an trying to use the spry auto suggest widget and so far it works fine but I would like to be able to have the results div overlay my web page rather than push the contents down as I am new to all this I would appreciate any possible help or

  • Folio Builder doesn't open

    When I go to Window > Extensions in my InDesign CS5.5 (Mac), Foilo Builder is there but absolutely nothing happens when I try to select it. All other extensions there open up, but not Folio Builder. I have uninstalled Folio Producer tools, the Folio

  • Using bootcamp on macbook

    is it posable to use bootcamp to put windows on an external hardrive and then boot up using the external hardrive Thanks for the help