OLE Container linked documents conversion to Web Forms

We have developed a form within our Oracle 6i application which allows users to navigate directly from the Forms application to relevant documents. We use an OLE container and the documents (Word, Excel, PDF etc) are linked rather than embedded in the database. I understand that OLE containers are not supported within Web Forms. I'd like to maintain the functionality within the application and welcome any suggestions. I was hoping that Web_Util would provide this but it doesn't appear so. We have over 12000 embedded references to documents which we'd like to extract or retain. A possible solution would be to extract the filenames and paths/locations and have them available as a hyperlink.
I have no idea how to extract the file from the database blob column. There are many samples of code on Metalink to extract the document and store it locally but that's not what we want.
We use an OLE container (now Obsolete) with the OLE Tenant Type set to Linked, and OLE Tenant Aspect set to Icon. So the actual document is not embedded in the database but somehow the Application (Word Excel etc) knows the filename and path when you double click on the Icon.
I would like to extract the filename/path from the blob column and transfer it to another column which will be used as a hyperlink.

The documents are NOT stored in the database, they are linked. We have the documents on the network but have no idea which documents match to which unique record id on the database. Hence the need to extract the name and location of the files. Some ids can have up to 10 different documents attached to them
The use of OLE Tenant type "Linked" was really a Forms 6 version of a hyperlink.
I've got a hyperlink working for future use in attaching new documents to a record id. I am worried that we've lost the record of old links. I don't understand how Oracle can make something obsolete without at least providing an upgrade method.
Hope this makes it clearer.
Lesley

Similar Messages

  • Steps to link a report to web form

    Hi friends,
    Could any one give the complete steps of Linking a report to web form so that when called / clicked the link the report can display the data.
    I have unchecked the "Report Option -> Save Data with Reports". So that the report could not take extra space.
    I have DB connection code in my .aspx file, it is as follows:
    Private Sub ConfigureCrystalReports()
            Dim fileName As String = "Reports\" & ReportID & ".rpt"
            Dim reportPath As String = Server.MapPath(fileName)
            myRepDoc = New ReportDocument()
            myRepDoc.Load(reportPath)
            myCrystalReportViewer.ReportSource = myRepDoc
            'myCrystalReportViewer.RefreshReport()
            Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
            If Session("reportConnectionInfo") IsNot Nothing Then
                Dim ConnInforArrList As ArrayList = DirectCast(Session("reportConnectionInfo"), ArrayList)
                myConnectionInfo.ServerName = ConnInforArrList(0)
                myConnectionInfo.DatabaseName = ConnInforArrList(1)
                myConnectionInfo.UserID = ConnInforArrList(2)
                myConnectionInfo.Password = ConnInforArrList(3)
            Else
                lblMessage.ForeColor = Drawing.Color.Red
                lblMessage.Text = "Session is off. Please Relogin to See the Report."
            End If
            SetDBLogonForReport(myConnectionInfo, myRepDoc)
            SetDBLogonForSubreports(myConnectionInfo, myRepDoc)
            myCrystalReportViewer.SelectionFormula = GetFieldName(ReportID) & "='" & Session("CompCode") & "'"
            myCrystalReportViewer.Visible = True
        End Sub
        Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim myTables As Tables = myReportDocument.Database.Tables
            For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
                Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                myTableLogonInfo.ConnectionInfo = myConnectionInfo
                myTable.ApplyLogOnInfo(myTableLogonInfo)
            Next
        End Sub
        Private Sub SetDBLogonForSubreports(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim mySections As Sections = myReportDocument.ReportDefinition.Sections
            For Each mySection As Section In mySections
                Dim myReportObjects As ReportObjects = mySection.ReportObjects
                For Each myReportObject As ReportObject In myReportObjects
                    If myReportObject.Kind = ReportObjectKind.SubreportObject Then
                        Dim mySubreportObject As SubreportObject = CType(myReportObject, SubreportObject)
                        Dim subReportDocument As ReportDocument = mySubreportObject.OpenSubreport(mySubreportObject.SubreportName)
                        SetDBLogonForReport(myConnectionInfo, subReportDocument)
                        If myReportObject.Name = "Subreport1" Then
                            Dim lvSec As Section = subReportDocument.ReportDefinition.Sections("DetailSection1")
                            If Not lvSec Is Nothing Then
                                Dim t1 As TextObject
                                t1 = lvSec.ReportObjects("txtEmpName")
                                t1.Text = Session.Contents("EmpName")
                                Dim t2 As TextObject
                                t2 = lvSec.ReportObjects("txtRepID")
                                t2.Text = Request.QueryString("REPID")
                            End If
                        End If
                    End If
                Next
            Next
        End Sub
    Please do help me out.
    Thanks and regards

    Hello Md. Mushtaque,
    Please post this query to the [.NET Development - Crystal Reports|SAP Crystal Reports, version for Visual Studio; forum.
    This forum is dedicated to topics related to custom application development or deployment with Crystal Reports in .Net. This includes full versions of Crystal Reports as well as those versions of Crystal Reports bundled with Microsoft Visual Studio .Net.
    The forum is monitored by qualified technicians and you will get a faster response there.
    Also, all Crystal Reports .NET Development queries remain in one place and thus can be easily searched in one place.
    Thanks a lot,
    Falk

  • OLE-Container and migration to the web

    Our environment:
    We run our forms in both, client-server and web-environment. Now we plan to migrate some outstanding tasks to the web (using web_util) and then desupport the client-server-version.
    My problem:
    There is a form with a OLE-Container. Users can store and retrieve documents like pdf or tif in the database (longraw). Until yet there are no constraints respecting to the filetype. For the future we want to limit the user to pdf and tif.
    How can I migrate this application to the web?
    OLE-Objects are obsolet, but I don't see, how web_util can help.
    I don't know how the data are modified when an ole-object is stored to the longraw-column. I guess there must be some tags/ envelopes, describing the type of the document.
    Is this "ole-format" also obsolet? Should we migrate our data, too?
    What do you recommend?
    Wolfram Dorner

    Hello,
    <p>Here is one workaround.</p>
    Francois

  • I have imported a PDF form (created in adobe acrobat XI pro) into FormsCentral.  I now want to convert this document into a web form so I can embed it into my website.  HOW DO I DO THIS?

    I took a word document I had created and added fields to it in Adobe Acrobat XI Pro.  I then imported the PDF in Forms Central and now I am stuck.  All I am able to do with it in FormsCentral is add a submit button.  It will not allow me to edit the document in FormsCentral.  What I ultimately need to do is get this converted to a web form so that I can embed it into our company website.  Additionally, once it's converted, I need to add an option for the user to attach their resume with the file before submitting.  I have looked all over the web and I cannot find an answer as to whether or not I can convert PDFs to web forms in FormsCentral.  This will ultimately determine whether or not the company decides to purchase these programs after the trial version has ended in a few days.

    I tried that first, but FormsCentral does not have the capability to create tables.  The form I need to create is more advanced than what FormsCentral allows.  Do you know if there is a way to create or somehow import a table when creating a web based form on FormsCentral?

  • Where/How do I copy the link to the online web form?

    Hi there,
    I am a total beginner with FormsCentral. Here is my situation:
    I have registered for a trial which, in theory, grants 1 online form. 
    I have imported a PDF template into FormsCentral's desktop tool. Then I have saved the new form. As a result, the form now appears in the list with a "cloud" symbol. Also I can see that my "online form credit" is now down to zero.
    I'd be grateful for any guidance on how to find/copy the online form's URL, or navigate to it.
    Success with this seemingly simple step will determine whether I ugrade to the next Plan (and whether I encourage colleagues in a 1000+ employee organization to also use FormsCentral). 
    Many thanks,
    Eric

    In other words: Is is possible to import a fillable PDF document into FormsCentral, and publish it as an online form (the same way as for a form designed afresh from FormsCentral desktop tool)?

  • Steps to link a report to Web Application Form. Post Your Opinion

    Hi friends,
    After going through it what is your opinion. please do post your opinion.
    Could any one give the complete steps of Linking a report to web form so that when called / clicked the link the report can display the data.
    I have unchecked the "Report Option -> Save Data with Reports". So that the report could not take extra space.
    I have DB connection code in my .aspx.vb file, it is as follows:
    Private Sub ConfigureCrystalReports()
    Dim fileName As String = "Reports\" & ReportID & ".rpt"
    Dim reportPath As String = Server.MapPath(fileName)
    myRepDoc = New ReportDocument()
    myRepDoc.Load(reportPath)
    myCrystalReportViewer.ReportSource = myRepDoc
    myCrystalReportViewer.RefreshReport()
    Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
    If Session("reportConnectionInfo") IsNot Nothing Then
    Dim ConnInforArrList As ArrayList = DirectCast(Session("reportConnectionInfo"), ArrayList)
    myConnectionInfo.ServerName = ConnInforArrList(0)
    myConnectionInfo.DatabaseName = ConnInforArrList(1)
    myConnectionInfo.UserID = ConnInforArrList(2)
    myConnectionInfo.Password = ConnInforArrList(3)
    Else
    lblMessage.ForeColor = Drawing.Color.Red
    lblMessage.Text = "Session is off. Please Relogin to See the Report."
    End If
    SetDBLogonForReport(myConnectionInfo, myRepDoc)
    SetDBLogonForSubreports(myConnectionInfo, myRepDoc)
    myCrystalReportViewer.SelectionFormula = GetFieldName(ReportID) & "='" & Session("CompCode") & "'"
    myCrystalReportViewer.Visible = True
    End Sub
    Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
    Dim myTables As Tables = myReportDocument.Database.Tables
    For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
    Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
    myTableLogonInfo.ConnectionInfo = myConnectionInfo
    myTable.ApplyLogOnInfo(myTableLogonInfo)
    Next
    End Sub
    Private Sub SetDBLogonForSubreports(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
    Dim mySections As Sections = myReportDocument.ReportDefinition.Sections
    For Each mySection As Section In mySections
    Dim myReportObjects As ReportObjects = mySection.ReportObjects
    For Each myReportObject As ReportObject In myReportObjects
    If myReportObject.Kind = ReportObjectKind.SubreportObject Then
    Dim mySubreportObject As SubreportObject = CType(myReportObject, SubreportObject)
    Dim subReportDocument As ReportDocument = mySubreportObject.OpenSubreport(mySubreportObject.SubreportName)
    SetDBLogonForReport(myConnectionInfo, subReportDocument)
    If myReportObject.Name = "Subreport1" Then
    Dim lvSec As Section = subReportDocument.ReportDefinition.Sections("DetailSection1")
    If Not lvSec Is Nothing Then
    Dim t1 As TextObject
    t1 = lvSec.ReportObjects("txtEmpName")
    t1.Text = Session.Contents("EmpName")
    Dim t2 As TextObject
    t2 = lvSec.ReportObjects("txtRepID")
    t2.Text = Request.QueryString("REPID")
    End If
    End If
    End If
    Next
    Next
    End Sub
    Please do help me out as the data of report is not getting displayed on the report.
    After going through it what is your opinion. please do post your opinion.
    While creating the Report has the following Report Options on / checked.
    1. Database Server is Case-Incensitive
    2. Use Indexes Or Server For Speed
    3. Verify on First Refresh
    4. Show Preview Panel
    5. Display Alerts on Refresh
    6. Select Distinct Data for Browsing
    Do I have check or uncheck any other option?
    Thanks and regards
    Edited by: Md. Mushtaque on Sep 6, 2008 2:50 PM
    Edited by: Md. Mushtaque on Sep 8, 2008 9:27 AM
    Edited by: Md. Mushtaque on Sep 8, 2008 12:14 PM

    Sir AG,
    Thanks a lot for replying and spending your valuable time for my problem.
    Sir, I just want to put this in your knowledge that my application is web based application and I am calling these reports through web forms i.e. of ASP.NET coded in vb from .aspx.vb files.
    So as per the code I have attached, I have this
    Option Explicit On
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Next for ReportDocument Object:
    Dim fileName As String = "Reports\" & ReportID & ".rpt"
            Dim reportPath As String = Server.MapPath(fileName)
            myRepDoc = New ReportDocument()
            myRepDoc.Load(reportPath)
            myCrystalReportViewer.ReportSource = myRepDoc
    Above is the code used by me in Page_Init  and I have already tested it from Page_Load. I have got few suggestions from this forum that I should put this code in Page_Init only.
    Lastly:
    The database connectivity code:
    Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
            If Session("reportConnectionInfo") IsNot Nothing Then
                Dim ConnInforArrList As ArrayList = DirectCast(Session("reportConnectionInfo"), ArrayList)
                myConnectionInfo.ServerName = ConnInforArrList(0)
                myConnectionInfo.DatabaseName = ConnInforArrList(1)
                myConnectionInfo.UserID = ConnInforArrList(2)
                myConnectionInfo.Password = ConnInforArrList(3)
            Else
                lblMessage.ForeColor = Drawing.Color.Red
                lblMessage.Text = "Session is off. Please Relogin to See the Report."
            End If
            SetDBLogonForReport(myConnectionInfo, myRepDoc)
            SetDBLogonForSubreports(myConnectionInfo, myRepDoc)
    SetDBLogonForReport(myConnectionInfo, myRepDoc)
    Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
            Dim myTables As Tables = myReportDocument.Database.Tables
            For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
                Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
                myTableLogonInfo.ConnectionInfo = myConnectionInfo
                myTable.ApplyLogOnInfo(myTableLogonInfo)
            Next
        End Sub
    This code I have got from a sample of the forum itself.
    Sir, after all these effort and the unchecking of option "Save Data with Report" on calling the reports from my forms it is showing blank report. No data from the database is coming form the database.
    I have uncheked the option "Save Data with Reports" to get the updated data each time the report has been called but now the status is that nothing is coming.
    Thanks again for you precious and valuable effort to help me but the my problem is unsolved, So sir please if you could put an eye on it and help me out to get rid of this problem, I will be very thankful to you for your kind help.
    Thanks and regards
    Mushtaque

  • Store and display word document in database through forms

    how can i store a word document in database through forms 6i or 10g, and display it through forms from database.
    i know how to store a binary file in database through DBMS_LOB package, but i want to do it throug forms. is it possible?
    regards

    Hi Alex
    "Create a datablock and specify the item datatype as blob"
    BUT: How to bring the document to the blob?
    Hi user 611..
    Warning: It is easy if you use an OLE-Object - but OLE is a special format. The result will not be the same as with dbms_LOB.
    We have a application with documents stored via OLE - terrible!
    OLE is no longer supported by forms 10. But webutil would help.
    I asked a similar question and got a good answer:
    OLE-Container and migration to the web
    Wolfram

  • How I can attach files on a Web Form

    Hi everybody,
    When I add a document on a web form, the document I have to attach from the workspace directory... the server is on Linux ... instead of put the files on linux server, exists the possibility to parameterize a local directory to be easier to attach the file.....???? Or Sombeone knows about a link to see some information about my question.
    Regards

    Hi,
    You can attach documents at two steps.
    1. Go to Explore screen at workspace, import file(s) to workspace via (file->import). Make sure you defined necessary security on the folder and document alike.
    2. Go to Planning, open a form, select a cell, click on "Add/Edit document" button, follow the steps and choose the file that you want to attach from workspace.
    There is no dependency for attaching documents on the OS.
    Cheers,
    Alp

  • How to upgrade 6i form to 11g forms which includes OLE container ?

    How to upgrade 6i form to 11g forms which includes OLE container ?

    The migration assistant has no upgrade for that. You need to get a Javabean or PJC:
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e10394/items.htm#sthref207
    I don't know what kind of OLE files you have, but if it's just Word and Excel, I would you use browser functionality instead and get the doc's via web.show_document. That, however, doesn't give you update possibility.
    You can also use webutil file transfer to get the file to the PC, modify it there, and transfer back to the database.
    Then you still have a problem. Documents uploaded via Forms OLE container are actually modified by Forms before they are stored in the database. So, don't throw away your 6i version yet.
    You need to get all the stored documents out via Forms 6i and save them as a normal document on the file system. Then you can store them back in the database using some other tool, like dbms_lob or webutil's file transfer.
    There are some related discussions on his forum, so just use the Search option, e.g.
    Oracle Forms 10g and OLE Containers, word documents?
    Edited by: InoL on Jul 13, 2011 9:32 AM

  • FAQ web form throws - Cannot render container ERROR

    Hi All,
    I used FAQ web form to create a web page. In the FAQ web form i had given link to some document and also some internal links.
    After saving the web form and previewing did not throw any eror. But when attached to a role and accessed the page.. getting
    this ERROR  "  Cannot render container : An error occurred while loading the document from the resource content ".
    Can somebody tell me the reason for this .??
    Regards,
    Archana.

    Hi Archana,
    I have faced the same error like you. The /etc repository is not working. Please check whether the network share used by this repository is available. You can check also SAP Note 1178294 regarding /etc repository in cluster environment. The /etc repository is used by the XML forms. In your case, you used FAQ web form to create web page and the form is built using XML form.
    Good luck!!!
    Regards,
    Faeza
    Edited by: norfaeza mat noor on Jul 9, 2009 1:59 AM

  • How can I read a blob created with ole container in forms 6i in forms 10g

    In forms 6i I used ole container to save a document (excel, pdf, word...) into a blob column.
    I want to migrate my application in forms 10g and I read that I have to use webutil_File_transfer.db_to_client and after webutil_host.blocking to see the document.
    In the same blob column I can have multiple type of document. How Can I know wich application to use to open the document ?
    Even if I know the extension of my document I'm enabled to open the file ???

    When you click a C/S OLE object, it is opened with its default application's owner, no ?
    So if the OLE object is opened by Excel, the extension is .xls.
    In any case you have to open the OLE object with its "mother" application if you want to save it as a file, so there is no problem at all to decide with extension to use.
    If you read this article : http://sheikyerbouti.developpez.com/webutil-docs/Webutil_store_edit_docs.htm you can see that the filename is automatically opened with the corresponding application.
    Francois

  • Opening pdf file in ole container in forms 6i

    Dear Sir,
    I have am working on Rental property system , i have to save the PDF of original agreement document along with the agreement transaction data entry form, but when i open those agreement in adobe writer there is issue that user can save as its copy to the local machine, to prevent it i m opening that pdf file into the OLE container rather than adobe reader software.
    but the problem i am facing is that, the pdf is opening in the ole container but it is only showing its first page only even if the agreement is of multiple pages, how can navigate to other pages? any idea? the sample code of oracle form is attached herewith which i am using for loading the pdf into ole container.
    waiting for your earliest response.
    Regards

    You need to switch from using VB6 at this point.  As of the latest update, VB6 compiled applications will stop working with Adobe Reader. See the following KB: 
    PDF applications built with VB6 don't work with Acrobat 11.0.07

  • Retriving a blob after it was loaded by OLE container in forms 6i

    We had forms6i application which has loaded documents into a blob column in the database using OLE container. We are able to retrive the blob from the OLE container on the forms6i, However when we are trying to retrive the same blob using PL/sql into the OS level file , we are unable to open the file as it not able to de-serialize the blob loaded into the database by an OLE container on the forms 6i
    we have loaded around 5000 documents in the database using forms 6i application.
    These were loaded during normal application usage and added mannually by invoking the forms application and then saving.
    Our requirement is now to retrive these documents all at once using automated scripts. if Blob data is inserted using forms 6i OLE container then is there any automated exteneded procedures to retrive those blobs using PL SQL script or any other method.
    my Forms version:Forms 6.0.8.25
    My Databae : Oracle database 10.2.0.4
    Thanks in advance.

    When you click a C/S OLE object, it is opened with its default application's owner, no ?
    So if the OLE object is opened by Excel, the extension is .xls.
    In any case you have to open the OLE object with its "mother" application if you want to save it as a file, so there is no problem at all to decide with extension to use.
    If you read this article : http://sheikyerbouti.developpez.com/webutil-docs/Webutil_store_edit_docs.htm you can see that the filename is automatically opened with the corresponding application.
    Francois

  • Forms 6i : Ole Container : Locking problem

    We have a form in which user can attach all sorts of documents that are then saved in the database.
    Once in a while we have a locking problem; when 2 users try to open the same document, the second one first gets a 'Could not reserve record (2 tries). Keep trying?'. When clicking 'No', the next error message is 'Frm-40501 : unable to reserve record for update or delete', and the form cannot be used anymore. He keeps complaining about the reserved record.
    I've been looking into this problem but cannot seem to find a lot of help.
    Does anyone have an idea how to solve this locking problem?
    I have tried the following things:
    * setting the block to locking mode 'Delayed' => we ended up having duplicate records.
    * Changing properties of the ole-container (In Place Activation, Inside Out support, ...).
    Forms version is 6.0.8.13.0, database 8.0.6.0.0.
    Any help is appreciated.

    that seems to be a normal locking problem. Do you have tried to work with an ON-LOCK trigger ? (e.g. first to see, when locking will occur, second for implementing an own locking-behaviour, maybe with a SELECT for UPDATE)
    Or do you think, that there is something special with your OLE-programming ?
    Gerd

  • OLE & Web Forms

    In the client/server environment, I'm able to use OLE to invoke
    and store documents, e.g. word, excel documents, etc. into an
    ole container. When I move the same function to the web, it
    doesn't seem to work. I cannot get the right mouse button to
    show anything. Is this something that will be in the next
    release? Could this work using Java or some other way?
    Thanks
    null

    Laura (guest) wrote:
    : In the client/server environment, I'm able to use OLE to invoke
    : and store documents, e.g. word, excel documents, etc. into an
    : ole container. When I move the same function to the web, it
    : doesn't seem to work. I cannot get the right mouse button to
    : show anything. Is this something that will be in the next
    : release? Could this work using Java or some other way?
    : Thanks
    OLE will not work at all in Developer Server
    null

Maybe you are looking for

  • Safari crashes instantly and does not even load. Please help.

    Process:         Safari [527] Path:            /Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         6.0.5 (7536.30.1) Build Info:      WebBrowser-7536030001000000~1 Code Type:       X86-64 (Native) Parent

  • No apps in Background App Refresh

    Hi everybody, I am using iphone 5s and ios 8.1 My apps (endomondo and gipis) stopped working correctly because they needed to be turn on in the Background App Refresh but there are no such apps there. I cannot use my apps =( Could you help with this

  • Text Edge preview 6, .oam files

    Hi Adobe Team I am creating a folio. I have text on top of an imported edge .oam file in InDesign. When I launch the folio, the text appears for awhile then disappears when the animated edge runs. My only other choice is to not place the text in the

  • TC and Airport Express Alternative

    Greetings, Last night, I bought a TC to back up my 2 laptops. I currently had an Airport Express as my main wireless router in my living room, but also connected it to my stereo for Airtunes. Is there any USB device I can use to stream music from my

  • Buying a new MBP, do I have to buy RAM now?

    I want to get a new MacBook Pro, but don't want it to come with any RAM, I want to purchase my own elsewhere. Is this possible if I speak with someone at the Apple Store? not ready to go in just yet