Attachment Link item type

hi all
i facing problem in viewing the attachments which were attached to oaf page attachmentlink item type.
Edited by: 995022 on Jun 3, 2013 10:27 PM

Guys
Please Help me out. It is client requirement to have the attachmentlink item type in my create page in iExpense Module.
Even i have provided the Link Text property to "View Here" but still it is returning None Value.
I am also facing one more problem after returning from attachments page, values were reset surprised. I tried session value but it is not working, may be i put the code in wrong place (suggest the code where to place this code and how to call session value)
Please help me it is little urgent.
Edited by: 995022 on Jun 6, 2013 1:22 AM

Similar Messages

  • Portal 10.1.4 seeded Page link Item type - Getting it to open in new window

    I've been working on creating a new portal and am having some difficulty with Page Links. I am using version 10.1.4 out of the box. When I create a page link to another page and click on it, the page always takes over the current window.
    Under normal items, you can select the option to display item in new browser window. I do not see this option when using a Page Link.
    My questions are :
    Is this option to display somewhere else vs. Page Properties?
    Has anyone created a custom item type to achieve this function?
    Thanks in advance.

    Hi,
    Something you could try is changing the way the item is displayed using a HTML Content Layout, this is a great feature of portal 10.1.4 and allows you to customise the region where the items are displayed.
    Try this:
    1) Create a new HTML Template
    2) Select HTML Content Layout from the list
    3) insert this code:
    <oracle>
    if '#ITEM.TYPE#' in ('baseportletinstance', 'portlet_instance') then
    htp.p('#ITEM.PORTLETCONTENT#');
    else
    htp.p('#ITEM.TITLE#');
    end if;
    </oracle>
    4) go to your page and edit your region properties
    5) On the attributes tab chose the Html template you created.
    the items should be displayed now as links that open in a new browser window.
    Hope this helps..
    Regards,
    Juan

  • Possible to link item type to category?

    Hello,
    I've created some custom item types, and I've got some categories.
    Is it possible to link certain item types to a distinct set of categories?
    So item type 1 can only choose between category A and B, and item type 2 can only choose between category C and D ?
    Thanks,
    Ton

    hi ton,
    this is not possible. the problem is that you can choose category as an attribute for the custom item type. but the configuration of the available categories are done on page group level. the selection is then used for every item that has this attribute.
    regards,
    christian

  • How to find the count of attachments done before submit in Attachment Link?

    How to find the count of attachments done before submit in Attachment Link?
    Does anybody know how to find the count of attachments done in Attachment Link item type before Submit.
    My requiremet is to display the count of attachments done by user used in Standard Page before he submits the page.
    Any help would be appreciated.
    Thanks.
    CO.java
    OAMessageAttachmentLinkBean oalink = (OAMessageAttachmentLinkBean)webBean.findChildRecursive("Attachments");
    oalink. count ?

    I have the same issues! any body can help this issues?

  • Link Material Type Item Category

    Hi,
    How can i make the link between the material type and the item category when the material has NO BOM ? Otherwise each time a PM order si created the item category has to be filled (stock or no stock). I know it is there i just can't find it.
    Thanks,
    Olivier

    Hello,
    Can you brief me on how it works?
    When i checked the setting of link item category with the material type then it shows me that the item category is to be defined based on the material type and maintenance plant. But what is the relation in term of the order type i.e. whenever i create any order with a specifica order type, the default item category should get reflected on the componenets tab of the order?
    Can you guide me how to do this setting.
    Thansks

  • Link material type and item category.

    Hi,
    Can you brief me on how following setting in SPRO works?
    Plant maintenance - Maintenance and service processing - Maintenance and service order - General data - Define default values for componenet item category
    When i checked, this setting is to link item category with the material type and item category is defined based on the material type and maintenance plant. But what is the relation in term of the order type i.e. whenever i create any order with a specifica order type, the default item category should get reflected on the componenets tab of the order?
    Is it possible?
    Can you guide me how to do this setting.
    Thansks

    Hi,
    Yes it is posible to make all order types item category mark as stcok item "L" as default value. Very well u can set it at following menu path under PM&CS Node
    Maintenance and Service Orders
    Functions and Settings for Order Types
    General Data
    Define Default Values for Component Item Categories
    Ramesh

  • Content Item Typ: Tree Navigation Link

    Hi,
    I was told that there is one Tree Navigation Link in the content item types. However I can't see it in the page group configuration.
    I am using oracle 9iAS 9.0.2, portal 9.0.2??, JPDK v2 July one.
    By the way, how can I know the portal version? I didn't do the installation. Everything comes with the oracle 9iAS installation. I did upgrade the JPDK.

    There is currently no item type that does a tree-style navigation.
    A new tree-style navigation portlet is coming soon from the Portal Integration Solutions team.
    There are also a couple of navigation portlets available from the Knowledge Exchange. I've tried this one and it works great.
    There are also some great navigation and search extensions available from Oracle Consulting.
    To find the Portal version number, look on the Builder Page, Admin tab, General Settings. Scroll to the bottom of the page.
    Regards,
    Jerry
    PortalPM

  • Display link item using SPEL

    Hi,
    I have an issue I am displaying a column say empno as item type link in a multi row table. I want to be able to control on whether employee number actually is a link which shows employee details or if it shows just the plain employee number (it's not clickable) based on say employee dept id. dept id is also in the same VO.
    I have managed to render employee number true or false based on the condition using SPEL but I don't know how to display the empno without the link when the condition return false. Right now it's displaying empno with the link when it's true but for other rows it's showing blank value.
    Can anyone suggest me a solution.
    Thanks

    Hi,
    I would suggest the use of OAView Object Databound API's for it.
    Read more about it in Dev Guide.
    Just write a VO query and in that take a new column for destination url
    now use decode statement to return the destination url as null if it is a simple employee else return the
    exact destination url for the link.
    now attach this Attribute to the DESTINATION_ATTR of the messagestyled text of the employeenumber using DataBound API's.
    Thanks,
    Gaurav

  • IProcurement attachment link issue

    Dear friends,
    I have an requirement where in iProcurement attachment link(If URL/web page) is opening in same window and if attachment is .txt or .pdf then its working fine and opening in a pop up window.
    Here I have to make changes for attachment link(If URL/web page)..it should open in a pop up or separate tab in IE.
    Here what I have done...
    I created a new table column and create duplicate of original column but with link item and trying to add a JAVA SCRIPT to open new pop up....now its working but here the issue is its working fine for the attachment of type URL/webpage but not working for doc attachments.
    Here my idea was to create a duplicate of ORIGINAL column with link ITEM and attache JAVA script then hide the Original one.
    Could any one suggest if I am heading towards wrong direction or right? or any approach to solve it.
    Yes we are in 11i instance.
    Regards,
    Prakash 

    You need to add entity map, this is precisely required if you have to fetch back the attachment.
    in entity map, provide Entity name ... (for convenience, put it to be same as your table name)
    Add Primay key, specify the view attribute ...which eventually gets saved as PK1_VALUE in attachment purpose.
    (this provides the link while retrieving attachments )
    Optionally you can add category map to entitymap...just specify category as MISC.
    Repeat the things above for second page, where you want to display attachments.
    Depending on your requirement, you can set Insert allowed, update allowed, delete allowed options in Entity map to false.
    and you are done!!!
    Thanks,
    Hrishikesh

  • FRM-30454: Unsupported item type.

    Hello,
    I am upgrading forms 6i to 11g.
    I got an error FRM-30454.Unsupported item type.
    item: Browser
    FRM-30085:unable to adjust form for output.
    this is the code throwing error.
    Data Blocks -> trigger ->when new block instance ->
    DECLARE
         WebPage OLEOBJ;
    BEGIN
    WebPage := :ITEM('IMAGE_VIEWER.BROWSER').INTERFACE;
    IF (UPPER(:PARAMETER.URL_PARAMS) = 'NONE') THEN
         WebBrowser.Navigate(WebPage, :PARAMETER.URL_LOCATION);
    ELSE
    WebBrowser.Navigate(WebPage, :PARAMETER.URL_LOCATION || :PARAMETER.URL_PARAMS);     
    END IF;
    END;
    the line WebPage := :ITEM('IMAGE_VIEWER.BROWSER').INTERFACE; is causing the problem because ".BROWSER" is not supported.
    I did search on FRM-30454 but none worked on my case.
    thanks

    You should use WebUtil for this functionality. Following are the steps to configure WebUtil:
    1- Attach the Webutil library with your form available at \forms directory
    2- Subclass your form from the WebUtil sub-group. ( open the Webutil.olb from the forms directory and drag webutil object to your form)
    3- Download jacob.jar from the following location:
    http://sourceforge.net/projects/jacob-project/files/jacob-project/1.8/jacob_18.zip/download
    4- Extract the zip file
    5- Copy the jacob.dll to the \forms\webutil directory
    6- Copy the jacob.jar to the \forms\java directory
    7- Sign the jar file using sign_webutil.bat in forms\webutil directory
    8- Add following configuration in formsweb.cfg file:
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle9- use following code to browse dirctories:
    PROCEDURE get_client_filename IS
         l_filename varchar2(200);
    BEGIN
         l_filename := client_get_file_name(directory_name => :global.user_home
                                        ,file_name      => null
                                        ,file_filter    => 'GIF Files (*.gif)|*.gif|'
                                        ,message        => null
                                        ,dialog_type    => null
                                        ,select_file    => null
      :builtins.file_name := l_filename;
    END;Please see following link for details:
    http://www.oracle.com/webapps/online-help/forms/10g/state/content/navId.3/navSetId._/vtTopicFile.web_util%7Cinstall~htm/

  • How to attach link to thread

    Hi,
    How to attach link to thread and if any code to be copy and paste it in sdn how to do?
    plz any one can suggest me i am not able to send these type of quereis.
    Regards,
    venkat

    Hi,
    when you are repling or creating thread see the right hand side you will find the hints
    Copy Paste FOR YOU place your text between these For
      *  bold 
    + +  italics 
    _ _  underline 
    --  --  strike 
    Line: -
    Heading 1: h1.  ABC
    Heading 2: h2.  ABC
    Heading 3: h3.  ABC
    Heading 4: h4.  ABC
    Heading 5: h5.  ABC
    Heading 6: h6.  ABC
    Link: [url]  URL 
    Link: [Name|URL]  Name 
    Link: [Name|URL|Tip]  Name 
    Further Markup Possibilities 
    Markup/Result  place        on both sides
    -> Displays the line as programming code  place {quote) on both side
    -> Displays the text "Hallo" in italics with a special background 
    {size:12}    
    -> Sets font size to 12 
    -> Sets font color to green 
    -> Sets font face to Courier 
    -> Displays link to forum 123 
    Loading Screen in Webreports?
    -> Displays link to thread 12345 
    The specified item was not found.
    -> Displays link to message 1234567 
    The specified item was not found.
    -> Displays link to user 1234 (numeric ID) 
    Regrds
    mahesh
    To attach link click on button on the top of reply page(below preview buttons) you can check 'Spell check '  and Quote your message from the top links.

  • Hot to identify WF Item Type

    Dear,
    I hope so you all are fine.I want to know how i can identify which workflow is attached with my form.if i go to PO or Invoice Form in Payable.How i can find which workflow or item type is attached with this form.
    Thanks
    SK

    Hi,
    No - there is nothing from the front end. If you pulled the form apart and looked at the underlying code, then you might find a call which starts a flow - or it might be something that puts a message on a queue which then gets processed by Workflow, or raises a business event....
    If you have a specific form in mind, then asking in the forum for the appropriate product might help you. If it's custom code, then you'll need to either look at the code within the form or have a functional / technical specification document which provides the information.
    Likewise, there is no way to look at a Workflow instance and find out where it came from - there are too many different ways that the flow could have been started for that to be possible.
    HTH,
    Matt
    Edited by: Darryl Burke -- advertisement and links removed

  • Link Item Style to open a PDF hangs if opened in IE in 30 seconds

    Hi,
    I am using Jdeveloper version 9.0.3.
    I have a page in which, I have an advanced table, in which there is a column, with item style - link.
    On the link item there is a PPR event and it should open a PDF file, residing on the server.
    I am using java code to open the PDF file.
    In Internet Explorer, the link doesnt work, infact the Explorer hangs and the user has to exit the window.
    This doesnt happen in Firefox. However, this is critical as , use of firefox is not allowed, and the users have to ultimately use IE.
    Below is the java code for opening the PDF file from the server:
    public void downloadFileFromServer(OAPageContext pageContext, String file_name_with_path, String file_name_with_ext)
    HttpServletResponse response = (HttpServletResponse) pageContext.getRenderingContext().getServletResponse();
    if (file_name_with_path == null || "".equals(file_name_with_path)){
    throw new OAException("File path is invalid.");
    File fileToDownload = null;
    try{
    fileToDownload = new File(file_name_with_path);
    }catch (Exception e){
    throw new OAException("Invalid File Path or file does not exist.");
    if (!fileToDownload.exists()){
    throw new OAException("File does not exist.");
    if (!fileToDownload.canRead()){
    throw new OAException("Not Able to read the file.");
    String fileType = getMimeType(file_name_with_ext);
    response.setContentType(fileType);
    response.setContentLength((int)fileToDownload.length());
    response.setHeader("Content-Disposition", "attachment; filename=\"" + file_name_with_ext + "\"");
    InputStream in = null;
    ServletOutputStream outs = null;
    try{
    outs = response.getOutputStream();
    in = new BufferedInputStream(new FileInputStream(fileToDownload));
    int ch;
    while ((ch = in.read()) != -1){
    outs.write(ch);
    }catch (IOException e){
    e.printStackTrace();
    }finally{
    try{
    outs.flush();
    outs.close();
    if (in != null){
    in.close();
    }catch (Exception e){
    e.printStackTrace();
    }//end catch
    }//end finally
    }//end method
    public String getMimeType(String s)
    int i = s.lastIndexOf(".");
    if (i > 0 && i < s.length() - 1){
    String s1 = s.substring(i + 1);
    if (s1.equalsIgnoreCase("pdf")){
    return "application/pdf";
    }//end if
    }//end if
    return "application/octet-stream";
    }//end method
    Thanks,
    AJ

    Hi Kristofer,
    We did look at the possibility for using messageDownload bean instead of a link, but we do not want to store the file as a LOB.
    The file needs to be stored in the server location.
    Any clue as to why the file opened in the browser ( on clicking on the link) hangs and this is happening only in IE.
    Thanks,
    AJ

  • How display attachment links in a list view in SharePoint 2013?

    Hi all,
    I'm looking for a way to display attachment links in a list in SharePoint 2013. There are few resources online to achieve this in SP2010 and SP07. Your help is much appreciated.
    Thank you.

    Hi Ram Sampath:
    You can use Event Receiver and create another list(ListA) to record your attachment link.
    Maybe your process is:
    Users add list items and attachments
    List event will be fired
    Use Event Receiver to get attachment url and then Write into ListA
    You also can refer to the following web site:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/b693eb84-b846-4f0f-93c1-276cf931c746/how-to-get-attachment-in-itemadded-event-receiver
    http://stackoverflow.com/questions/19077770/how-to-retrieve-list-item-attachments-with-sharepoint-2013-event-receiver-in-cor

  • Sales AR Item Type Invoice Print Layout Design "Sub Total" per Page

    Dear Forum Team
    We need some advice on how to modify, fomulate(?) [Sub Total] for each page's 'amount' on the Sales AR Item Type Invoice.
    Currently the 'sub total amount' on each page is showing Grand Total instead of sub total.
    Thanks

    Hi,
    In you PLD, In repetitive area, you might have linked the fields like Item name, Item Description, and so on. In these fields one of the field will be Total for line items.  Am i right?
    If it is so, then in repetitive area footer, Create one Formula field and give formula PageSum("Field_025") (in your case)
    Ie., Field_201 = PageSum("Field_025")
    Field_025 - contains the Line Total of Row items.
    I hope this could help you.
    Raja.S

Maybe you are looking for