How to create a Doc/Literal WebService that supports SOAP attachment?

Hi,
I need a sample that works with OC4J to provide a doc/literal WS which supports attachment for input/output.
How to create that with JDeveloper?
Thanks!

Hi there!
Thanks for the info. Actually I am using v10.1.3.2 (OracleAS and Jdeveloper) and tried to follow the "Working With Attachments'. However, the steps described there don't use JDeveloper.
I tried to feed the Example 2-2 WSDL into JDeveloper's Create J2EE 1.4 Java Web Service from WSDL wizard but it doesn't work due to this line:
<xsd:import namespace="http://ws-i.org/profiles/basic/1.1/xsd"
schemaLocation="http://ws-i.org/profiles/basic/1.1/xsd"/>
It should be this:
<xsd:import namespace="http://ws-i.org/profiles/basic/1.1/xsd" schemaLocation="WS-ISwA.xsd"/>     
WS-ISwA.xsd:
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
targetNamespace="http://ws-i.org/profiles/basic/1.1/xsd"
xmlns:tns="http://ws-i.org/profiles/basic/1.1/xsd">
     <xsd:simpleType name="swaRef">
          <xsd:restriction base="xsd:anyURI" />
     </xsd:simpleType>
</xsd:schema>
But then not sure what to do with step 3 & 4 in the wizard. So kind of confusing....
So far, I couldn't find a complete doc/literal WS/attachment sample (for OracleAS). Wonder if you know of any out there.
Thanks,
Daniel

Similar Messages

  • How to create Oppertunity doc automatically after lead in CRM SALES

    Hi,
    how to create oppertunity doc automatically after creating lead in crm sales
    Thanks7regards
    kishor kumar

    Hi Kishore,
    Create SAP Business Workflow for Opportunity from Lead 
    Use
    A lead is a business transaction that describes, stores, updates, and manages the potential business interests of a business partner, and the interactions based on this over a period of time. The goal is to provide the "sales" area with the information gained in the lead, in order that it can be used as a basis for deciding whether to create an opportunity.
    The information gathered in the lead is transferred to the "sales" area via the workflow "create opportunity from lead".
    In the workflow, you decide whether the opportunity is generated manually or automatically.
    If the lead-specific attributes Priority and Lead group fulfill specific criteria, the workflow automatically generates an opportunity. Otherwise, the workflow sends a work item to the sales employee responsible, for manual creation. Once he has checked the data in the lead, the sales employee can either reject this lead or create an opportunity from it.
    The workflow is automatically started when the lead is saved.
    The sales representative entered in the lead is first taken as the sales employee whose task it is to create the opportunity based on the information in the lead. This person can be determined using partner determination in CRM, depending on the prospect in the lead, and can, for example, be a manager of a sales area. If no sales representative is entered, the workflow takes an organizational unit assigned in the workflow template, and sends the work item to all users assigned to the organizational unit.
    Prerequisites
    u2022     The type linkage for the start events AttributeChanged and SetErrorFree for the workflow WS10001011 are deactivated as a standard procedure, and, if you wish to start the workflow template, they have to be activated again in Customizing. The workflow task processors must also be maintained. In Customizing, choose Customer Relationship Management  Basic Functions SAP Business Workflow  Perform Task-Specific Customizing.
    u2022     The workflow template uses the user statuses SAAC (accepted by sales) and SARE (rejected by sales) of the status profile CRMLEAD. If you have defined several user statuses, the data flow for task TS10008154 (set status) must be adapted accordingly.
    u2022     When the opportunity is created, the workflow template uses the opportunity transaction type OPPT. If you have defined several transaction types for the opportunity, the data flow for task TS10008151 (create opportunity) must be adapted accordingly.
    u2022     If the sales employee rejects the lead, the workflow resets the qualification level to value 02 (warm). If you have specified your own qualification levels in Customizing, you need to adapt the data flow for task TS10007918 (change qualification level) accordingly.
    Process of Workflow WS10001011 (create opportunity from lead)
    The workflow "create opportunity from lead" is started when a lead is saved with qualification level Hot and status Error-free. The system uses the lead-specific attributes Priority and Lead group to check whether an opportunity can be automatically created, or a sales employee first needs to decide. If the sales employee decides that an opportunity can be created, the lead status is set to "accepted by sales", and an opportunity is created in the background. If necessary, this is forwarded to the sales employee to check. If the sales employee rejects the lead, the lead status is set to "rejected by sales", and the initiator is informed by mail.
    The workflow is ended if no opportunity is created and
    o     the lead is deleted or
    o     the qualification level of the lead is changed to a value other than Hot or
    o     the status of the lead is changed to a value other than Error-free.
    Path for the workflow:
    ==> SPRO
    ==> Customer Relationship Management
    ==> Basic Functions
    ==> SAP Business Workflow
    ==> Perform Task-Specific Customizing
    Select the Application Componenet  Abbrevation as CRM and expand
    Select CRM-BTX and expand
    Select CRM-BTX-LEA and click on Activate event linking  and acivate workflow WS 10001011
    It may helps you
    Regards
    Narayana

  • How to create java docs?

    Hello,
    Its probably a newbie question,can some please show me how to create java docs using java,I know that if I have comments started like this
    @param
    @return
    Description
    it will be shown in the docs,but what is the syntax to get this functionality,
    thanks

    On my system this information is in the directory C:\jdk1.3\docs\tooldocs\javadoc. Look in the analogous directory on your system.

  • How to create a variance on data that exists iIn only one database column

    How to create a variance on data that exists iIn only one database column?
    I'm trying to create a calculation to show the difference between the budgets for two different years in a Discoverer crosstab query.
    I'm using the lag function to repeat the value of a column for the current year and the year before.

    Lag and lead seems to be the only choice and they work excellent. Checkout the new 10g Database features. There is new SQL modal clause which might give additional and powerful analytics but in this case lag and lead should be sufficient.
    regards
    http://www.infocaptor.com/workbook-dump.php

  • How to Create report in Material Master that outputs stock

    Hi,
         How to Create report in Material Master that outputs stock, grouped by Material Type and Plant. The output shows Material No, Storage location, Unit of Measure and Description in addition to group totals. Data was extracted from MARA, MARC, MARD, MAKT,MKPF,
         MSEG and T001W.and what are the fields to be used.

    hi,
    check the transaction MMBE or MC.9..
    for mmbe the program is RMMMBESTN.
    check the logic in the program.

  • How to create material doc using bapi

    hi all,
    pls tell me how to create material doc using bapi ,
    if i give po no , it will create material doc no .
    advance thanks ,

    Hi venu,
    Please go thru this example, it will help u.
    REPORT ZBAPIMM01 LINE-SIZE 255 NO STANDARD PAGE HEADING
    LINE-COUNT 065(001).
    TABLES: T001L, "Storage Locations
    MARA, "General Material Data
    MAKT, "Material Descriptions
    MBEW, "Material Valuation
    MARC. "Plant Data for Material
    DATA: BAPI_HEAD LIKE BAPIMATHEAD,
    BAPI_MAKT LIKE BAPI_MAKT, "Material Description
    BAPI_MARA1 LIKE BAPI_MARA, "Client Data
    BAPI_MARAX LIKE BAPI_MARAX,
    BAPI_MARC1 LIKE BAPI_MARC, "Plant View
    BAPI_MARCX LIKE BAPI_MARCX,
    BAPI_MBEW1 LIKE BAPI_MBEW, "Accounting View
    BAPI_MBEWX LIKE BAPI_MBEWX,
    BAPI_RETURN LIKE BAPIRET2.
    DATA: BEGIN OF INT_MAKT OCCURS 100.
    INCLUDE STRUCTURE BAPI_MAKT.
    DATA: END OF INT_MAKT.
    DATA: BEGIN OF INT_MAT OCCURS 100,
    WERKS(4), "Plant
    MTART(4), "Material type
    MATNR(18), "Material number
    MATKL(9) , "Material group
    MBRSH(1), "Industry sector
    MEINS(3), "Base unit of measure
    GEWEI(3), "Weight Unit
    SPART(2), "Division
    EKGRP(3), "Purchasing group
    VPRSV(1), "Price control indicator
    STPRS(12), "Standard price
    PEINH(3), "Price unit
    SPRAS(2), "Language key
    MAKTX(40), "Material description
    END OF INT_MAT.
    SELECT-OPTIONS:
    PLANT FOR MARC-WERKS OBLIGATORY MEMORY ID PLT,
    MATERIAL FOR MARA-MATNR MEMORY ID MAT,
    MATLTYPE FOR MARA-MTART MEMORY ID MTY,
    DIVISION FOR MARA-SPART MEMORY ID DIV.
    PARAMETERS: F_FILE LIKE RLGRAP-FILENAME
    DEFAULT 'C:\DATA\ZMATERIAL.XLS' MEMORY ID F_FILE,
    GETDATA AS CHECKBOX, "Tick to download materials data to local harddisk
    UPDDATA AS CHECKBOX. "Tick to update date to Materials Master
    IF GETDATA = 'X'.
    PERFORM DOWNLOAD_DATA.
    PERFORM DOWNLOAD_FILE.
    ENDIF.
    IF UPDDATA = 'X'.
    PERFORM UPLOAD_FILE.
    PERFORM UPDATE_MM.
    ENDIF.
    FORM DOWNLOAD_DATA.
    SELECT * FROM MARC WHERE LVORM EQ ' '
    AND WERKS IN PLANT
    AND MATNR IN MATERIAL.
    CLEAR MARA.
    SELECT SINGLE * FROM MARA WHERE MATNR = MARC-MATNR.
    CHECK MATLTYPE.
    CHECK DIVISION.
    CLEAR MBEW.
    SELECT SINGLE * FROM MBEW WHERE MATNR = MARC-MATNR
    AND BWKEY = MARC-WERKS.
    CLEAR MAKT.
    SELECT SINGLE * FROM MAKT WHERE SPRAS = 'EN'
    AND MATNR = MARC-MATNR.
    WRITE:/ MARC-WERKS, "Plant
    MARA-MTART, "Material type
    MARA-MATNR, "Material number
    MARA-MATKL, "Material group
    MARA-MBRSH, "Industry sector
    MARA-MEINS, "Base unit of measure
    MARA-GEWEI, "Weight Unit
    MARA-SPART, "Division
    MARC-EKGRP, "Purchasing group
    MBEW-VPRSV, "Price control indicator
    MBEW-STPRS, "Standard price
    MBEW-PEINH, "Price unit
    MAKT-SPRAS, "Language key
    MAKT-MAKTX. "Material description
    INT_MAT-WERKS = MARC-WERKS. "Plant
    INT_MAT-MTART = MARA-MTART. "Material type
    INT_MAT-MATNR = MARA-MATNR. "Material number
    INT_MAT-MATKL = MARA-MATKL. "Material group
    INT_MAT-MBRSH = MARA-MBRSH. "Industry sector
    INT_MAT-MEINS = MARA-MEINS. "Base unit of measure
    INT_MAT-GEWEI = MARA-GEWEI. "Weight Unit
    INT_MAT-SPART = MARA-SPART. "Division
    INT_MAT-EKGRP = MARC-EKGRP. "Purchasing group
    INT_MAT-VPRSV = MBEW-VPRSV. "Price control indicator
    INT_MAT-STPRS = MBEW-STPRS. "Standard price
    INT_MAT-PEINH = MBEW-PEINH. "Price unit
    INT_MAT-SPRAS = MAKT-SPRAS. "Language key
    INT_MAT-MAKTX = MAKT-MAKTX. "Material description
    APPEND INT_MAT.
    CLEAR INT_MAT.
    ENDSELECT.
    ENDFORM.
    FORM DOWNLOAD_FILE.
    call function 'WS_DOWNLOAD'
    EXPORTING
    FILENAME = F_FILE
    FILETYPE = 'DAT'
    FILETYPE = 'WK1'
    tables
    data_tab = INT_MAT
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_WRITE_ERROR = 2
    INVALID_FILESIZE = 3
    INVALID_TYPE = 4
    NO_BATCH = 5
    UNKNOWN_ERROR = 6
    INVALID_TABLE_WIDTH = 7
    GUI_REFUSE_FILETRANSFER = 8
    CUSTOMER_ERROR = 9
    OTHERS = 10.
    IF SY-SUBRC = 0.
    FORMAT COLOR COL_GROUP.
    WRITE:/ 'Data Download Successfully to your local harddisk'.
    SKIP.
    ENDIF.
    ENDFORM.
    FORM UPLOAD_FILE.
    call function 'WS_UPLOAD'
    EXPORTING
    FILENAME = F_FILE
    FILETYPE = 'DAT'
    FILETYPE = 'WK1'
    tables
    data_tab = INT_MAT
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_WRITE_ERROR = 2
    INVALID_FILESIZE = 3
    INVALID_TYPE = 4
    NO_BATCH = 5
    UNKNOWN_ERROR = 6
    INVALID_TABLE_WIDTH = 7
    GUI_REFUSE_FILETRANSFER = 8
    CUSTOMER_ERROR = 9
    OTHERS = 10.
    IF SY-SUBRC = 0.
    FORMAT COLOR COL_GROUP.
    WRITE:/ 'Data Upload Successfully from your local harddisk'.
    SKIP.
    ENDIF.
    ENDFORM.
    FORM UPDATE_MM.
    LOOP AT INT_MAT.
    Header
    BAPI_HEAD-MATERIAL = INT_MAT-MATNR.
    BAPI_HEAD-IND_SECTOR = INT_MAT-MBRSH.
    BAPI_HEAD-MATL_TYPE = INT_MAT-MTART.
    BAPI_HEAD-BASIC_VIEW = 'X'.
    BAPI_HEAD-PURCHASE_VIEW = 'X'.
    BAPI_HEAD-ACCOUNT_VIEW = 'X'.
    Material Description
    REFRESH INT_MAKT.
    INT_MAKT-LANGU = INT_MAT-SPRAS.
    INT_MAKT-MATL_DESC = INT_MAT-MAKTX.
    APPEND INT_MAKT.
    Client Data - Basic
    BAPI_MARA1-MATL_GROUP = INT_MAT-MATKL.
    BAPI_MARA1-BASE_UOM = INT_MAT-MEINS.
    BAPI_MARA1-UNIT_OF_WT = INT_MAT-GEWEI.
    BAPI_MARA1-DIVISION = INT_MAT-SPART.
    BAPI_MARAX-MATL_GROUP = 'X'.
    BAPI_MARAX-BASE_UOM = 'X'.
    BAPI_MARAX-UNIT_OF_WT = 'X'.
    BAPI_MARAX-DIVISION = 'X'.
    Plant - Purchasing
    BAPI_MARC1-PLANT = INT_MAT-WERKS.
    BAPI_MARC1-PUR_GROUP = INT_MAT-EKGRP.
    BAPI_MARCX-PLANT = INT_MAT-WERKS.
    BAPI_MARCX-PUR_GROUP = 'X'.
    Accounting
    BAPI_MBEW1-VAL_AREA = INT_MAT-WERKS.
    BAPI_MBEW1-PRICE_CTRL = INT_MAT-VPRSV.
    BAPI_MBEW1-STD_PRICE = INT_MAT-STPRS.
    BAPI_MBEW1-PRICE_UNIT = INT_MAT-PEINH.
    BAPI_MBEWX-VAL_AREA = INT_MAT-WERKS.
    BAPI_MBEWX-PRICE_CTRL = 'X'.
    BAPI_MBEWX-STD_PRICE = 'X'.
    BAPI_MBEWX-PRICE_UNIT = 'X'.
    WRITE:/ BAPI_HEAD, BAPI_MARC1.
    call function 'BAPI_MATERIAL_SAVEDATA'
    exporting
    HEADDATA = BAPI_HEAD
    CLIENTDATA = BAPI_MARA1
    CLIENTDATAX = BAPI_MARAX
    PLANTDATA = BAPI_MARC1
    PLANTDATAX = BAPI_MARCX
    FORECASTPARAMETERS =
    FORECASTPARAMETERSX =
    PLANNINGDATA =
    PLANNINGDATAX =
    STORAGELOCATIONDATA =
    STORAGELOCATIONDATAX =
    VALUATIONDATA = BAPI_MBEW1
    VALUATIONDATAX = BAPI_MBEWX
    WAREHOUSENUMBERDATA =
    WAREHOUSENUMBERDATAX =
    SALESDATA = BAPI_MVKE1
    SALESDATAX = BAPI_MVKEX
    STORAGETYPEDATA =
    STORAGETYPEDATAX =
    IMPORTING
    RETURN = BAPI_RETURN
    TABLES
    MATERIALDESCRIPTION = INT_MAKT
    UNITSOFMEASURE =
    UNITSOFMEASUREX =
    INTERNATIONALARTNOS =
    MATERIALLONGTEXT =
    TAXCLASSIFICATIONS =
    RETURNMESSAGES =
    PRTDATA =
    PRTDATAX =
    EXTENSIONIN =
    EXTENSIONINX =
    IF BAPI_RETURN-TYPE = 'E'.
    WRITE:/ 'Error Message ', BAPI_RETURN.
    ENDIF.
    ENDLOOP.
    ENDFORM.
    *---End of Program
    Reagrds,
    Kumar

  • How do go back to a version that supports Real Player?

    How do go back to a version that supports Real Player?

    According to the instructions given on the Norton Community forum under "Other Norton Products/Comcast-Customers - Norton Toolbar Problem in Firefox 10", I have done everything necessary. And I do have a Norton toolbar (Safe Web and Identity Safe) when I open Firefox 10. As was mentioned in the previous posts here, you need to run manual LiveUpdate then reboot until you have version 5.2.0.13. Then reboot and run manual LiveUpdate again and reboot once more. One thing that I noticed is that Norton never told me that it had updated the patch for Firefox 10, so I didn't know. I guess if you have the toolbar when you run Firefox 10, then you have done it all.

  • [iPhone] How to create an app store link that generates a search query?

    Does anyone know how to create a link to the app store that will bring the user directly to a search results page? I've noticed that there is a free application called "Art Gallery" that contains a menu option that will take you to other games from the same developer. Upon clicking this option, the user is taken directly to app store on the phone and the search field at the top has the company name in it.
    I'd like to be able to create a similar link for my game. I would normally just send the user to a website with iTunes links to all my games, but that functionality is currently broken on firmware 2.1. I've searched all over these forums and the Apple documentation to find the answer, but so far everything seems to suggest that the only ways to generate app store links are to 1.)use the iTunes link generator tool or 2.)right click a link in iTunes and copy the URL.
    Neither of the above methods seem to work for generating a URL that will actually search the store. I've also tried getting an artist link for my developer name, but the link doesn't work when I try launching it on the device. Has anyone solved this problem?

    you can try using an actionscript class like purePDF (http://www.sephiroth.it/weblog/archives/2010/02/purepdf_a_complete_actionscript_pdf_l.php) or use server-side code like fpdf (www.fpdf.org).

  • How to create a persona header bar that displays correctly in all resolutions - Firefox 20 Linux

    I'm in the process of learning how to create Personas for Firefox, and have already created one which I am using locally, but I ran into an unexpected behavior: If I create a header bar that is 3000 X 200 pixels as specified in the guidelines, only the right third or so displays in my browser when the theme is applied. To get this header to display "properly" (as I find aesthetically pleasing) I have to resize the header to 1280 X 85 pixels.
    Should not the header bar scale automatically, or do I need to produce a persona header at each possible resolution width to get it to display properly?
    For what it's worth, the footer appears to be displaying the left hand third, but this is not so objectionable in this case.
    A screenshot of the persona is available at http://www2.netdoor.com/~horus/Persona_2013-04.png.
    Thanks for any insights. I feel as though I must be misunderstanding something here.
    (I tried to post troubleshooting information the first time, but it overflowed the character limit...)

    Probably best to ask that sort of question, or research the answer in one of the AMO forums ('''A'''ddons '''Mo'''zilla). I think this one may be appropriate:
    * https://forums.mozilla.org/addons/viewforum.php?f=30
    ** I think you will need to register before posting
    I am wondering where are you doing the learning ?
    <br />There are also resources on MDN
    *https://developer.mozilla.org/en-US/addons
    Detailed discussion of the subject is probably off topic for this forum, but linking to resources or giving as imple answer is not so I hope some of the above are helpful. (You may even find someone else interested and knowledgeable posting a direct answer)

  • How to create a front panel display that lights up with different colours depending on its input signal?

    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    In addition, I wish to display these in an array on screen. Is there any pre-built function for this?

    Repulse wrote:
    I am doing a project where I have this array which has different voltage outputs for each grid. How do I create a front panel object that lights up with different colours depending on the voltage input or is there already such a pre-built function?
    The simplest way would be an intensity graph. It gives you a 2D grid where each grid point is colored according to the value of a 2D array. The Z axis color ramp determines the color.
    My second choice would be an array of colorboxes. (They could even be made to look like LEDs (see image, if course you can leave them square too), All you need is a scaling function thap maps voltages into a color ramp lookup table with an 8bit index)
    (Using booleans and color property nodes is relatively clumsy. Booleans are meant for two states because the value is boolean. Since array elements can only differ in value, and not in properties, it will not even work. Color boxes have a color data type which is much more appropriate for this case)
    LabVIEW Champion . Do more with less code and in less time .

  • How to get a doc//literal web service with JWSDP1.3

    I can build a rpc/encoded service (based the tutorial),
    but I need a doc/literal.
    Because I have a J2ME client.
    How can I do it?
    thanks

    Do you want to see if Arun's white paper helps you? I checked and he talkks about this at the end of his first scenario, at https://jax-rpc.dev.java.net/whitepaper/1.1/index-part2.html#Scenario1.
    - eduard/o

  • HOW TO: create NFS Archive log mount that runs parrallel

    I would like to know if there is a way i can create an NFS mount that would run parallel Archiving and not stop if NFS mount is stale. If possible then how to create or configure?
    Any and all help would be appreciated!
    Edited by: 886101 on Sep 19, 2011 8:45 AM

    On the server, edit the file <tt>/etc/exports</tt> to list the directories you
    want NFS to offer, and to which systems they should be offered:
    /u01    *(rw,sync,no_root_squash)
    /u02    *(rw,sync,no_root_squash)
    /u03    *(rw,sync,no_root_squash)The <tt>*</tt> matches any system/network and the <tt>(rw)</tt> says let the
    other systems read and write the tree, the <tt>sync</tt> forces the server NFS
    to finish the I/O before telling the clients the I/O is done, and the optional
    <tt>no_root_squash</tt> lets root on a client system access the files as if
    they were root on the NFS server; this may not be what you want.
    # /sbin/chkconfig nfs on
    # /sbin/service nfs startOn the NFS client, edit the <tt>/etc/fstab</tt> file to have lines that look
    like this:
    myserver:/u01 /u01 nfs rw,rsize=32768,wsize=32768,sync,nointr,hard 0 0
    myserver:/u02 /u02 nfs rw,rsize=32768,wsize=32768,sync,nointr,hard 0 0
    myserver:/u03 /u03 nfs rw,rsize=32768,wsize=32768,sync,nointr,hard 0 0and then from the client make sure you can see the offered files:
    # /usr/sbin/showmount -e myserverand if you can, do this on the client:
    # mkdir /u01 /u02 /u03
    # mount /u01
    # mount /u02
    # mount /u03If the clients ever reboot, the NFS files will be mounted automatically and you
    will not need these last 3 commands.
    The RDBMS has its own requirements for the options in the <tt>/etc/fstab</tt>
    entry, so the <tt>rw,rsize=...</tt> example may need to be adjusted a little.
    Happy NFS'ing.

  • How to resize a doc in CC that was created with cs4

    I created a tabloid size document in CS 4 and now need to resize it to Letter size using CC, not having much luck figuring it out.
    Help??

    What is the obstacle?
    ID CC will open a CS4 file.
    CS4 had Layout Adjustment which would automate re-sizing the document.
    CC has Liquid layout and perhaps Layout Adjustment. (I am not above CS.5)
    The amount of work to change Tabloid to Letter will be dependent on how well the file was created. 

  • How to Create a Dynamic http address that opens the Explorer Window for a List Item When a Button Is Clicked--Currently Trying to Make this Work with Javascript

    I have created a button (via Content Editor) that uses JavaScript to open the Attachments folder of a list item in the Explorer Window in SharePoint 2010. The purpose is to have drag and drop functionality for each list item, having multiple attachments.
    The button works but opens the "Attachments" folder containing all of the other folders for each list item (one folder per item). It seems that when you add an attachment to a list item, SharePoint numbers the folder based on the item's ID. What
    I'm trying to do is take the JavaScript I have and have it run when a button is clicked in a custom form. When it runs, I'm trying to get it to open the "specific" folder for the list item. I have had success creating a hyperlink in the list that
    does this; however, the link WILL NOT work until I use the Content Editor created button that runs JavaScript, that prompts me to click OK to my profile certificate, and then opens the Attachment folder. After that occurs, I can use my hyperlinks without issue
    because I'm no longer prompted to click OK for my cert.
    So I'm trying to take the JavaScript I have and place it in a list item form (custom form) and have it run when a form button is clicked. The problem is I have very little knowledge of JavaScript (did I mention little?) and
    "don't know how to take the "http:" address I have in the script and append to it the list item ID, according to the record I have open."
    So that for any record I open, the script will grab the corresponding record ID (or list item ID) and append it.
    Here's the script I'm working with (which I didn't create but am grateful for):
    <style>
    .httpFolder {behavior:url(#default#httpFolder);}
    </style>
    <script text = "javascript">
       function fnOpenFolderView(){
       oDAV.navigateFrame("https://server/collection/site/subsite/Lists/Sublist/Attachments","_self");
    </script>
    <div id = "oDAV" class = "httpFolder"/>
    <input type = "button" value = "Open Attachment Folder" onclick = "fnOpenFolderView()"/>
    The above script, in the Content Editor, creates a button that opens the Attachments folder for the corresponding SharePoint list.
    JackSki123

    Hello Thriggle,
    Thank you for pointing that out. I appended your "GetUrlKeyValue" to the end and it worked. That said, I noticed it doesn't run as smoothly as when I simply click on the Content Editor button I created that resides on the SharePoint List
    ASPX page (not the form). The Content Editor button has the same code, minus the "GetUrlKeyValue". I click it; I get prompted to choose my cert; it opens right up.
    Now go to the ASPX Display form where I dump the code in a table cell. Button appears in cell; I click it; wait; wait; I get prompted for cert; it opens. Do I need some sort of "throttle" for the JavaScript? For instance, I thought before running
    JavaScript, you reference the library first. This code doesn't do that. I'm wondering if there's something more I need to make this run smoothly. Thank you both for getting me this far. 
    JackSki123

  • How to create a custom search portlet that groups results by category

    Hello,
    Is it possible to create a custom search portlet whose search results are displayed on a page grouped by Category? Basically the results page should have Category heading followed by search results.
    I realize this is not canned functionality but any ideas on how to accomplish this using PLSQL APIs is also welcome.
    Thanks.

    hi,
    one workaround i could think of is using the CM views to search for content that belongs to a category and display it in a custom way.
    http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc904/wwsbr_api_view.html
    this only allows you to search for the meta-data available in the CM views but not the content of an item that is available when doing a search.
    in the next major portal release we will have a publich search API that can be used for these type of requirements. you can execute your search and format the results in the way you want.
    regards,
    christian

Maybe you are looking for

  • JMS sender adapter To File scenario

    Hi all, How the Message picked from the JMS Queue will be converted to XML using JMS Sender adapter. We have the setting "Mapping of Message" set either to Message Payload = JMS Payload or Entire Message = JMS payload. What should be the Message Inte

  • Artwork not showing up on ipad

    artwork in itunes not showing up on ipad for artists but is for albums how do you cure it

  • JAXB: How to have my generated classes subclass some other outside class ?

    With my XJS and DTD, JAXB generates the following: public class FraisMessage     extends MarshallableRootElement     implements RootElement { etc...I would like it to generate this instead: public class FraisMessage extends MyOtherClass     extends M

  • Presentation Layer Property

    Hi experts, In administratrion tool for obiee 10g, there are some property,such as export logical keys ,impilict fact column, in presentation layer. Can anybody tell me what it is and how to use it? Thank you.

  • Spry.Effect.Fade

    Hey, I have a div with a transparent background image and on using the Fade Effect on it the div's background image goes from alpha to and solid black in IE7... My alternative was to fade the inner element....do you guys have a fix for this?