Attachment table in framework

I am using attachment table in oracle framework and I get the folllowing error:
INSERT INTO FND_LOBS(FILE_ID,FILE_NAME,FILE_CONTENT_TYPE,FILE_DATA,FILE_FORMAT) VALUES (:1,:2,:3,:4,:5)".
domain index is marked LOADING/FAILED/UNUSABLE
can any one help with this error?

Hi,
Try this:
1) Run this select statement-
SELECT *
FROM user_indexes
WHERE index_type LIKE '%DOMAIN%'
AND (domidx_status <> 'VALID' OR domidx_opstatus <> 'VALID');
2)If you find any result for this query, fix those indexes using this-
alter index indexname rebuild;
--Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How to show other datatypes in attachment table

    Currently, when the attachment table bean (OAAttachmentTableBean) is added to a page, it is hard-coded to only show attachments with a datatype_id of 1,2,5, or 6. These values correspond to the FND_DOCUMENT_DATATYPE rows for
    1 - short text
    2 - long text
    5 - web page
    6 - file
    We would like to extend this view so that we can see other (user-defined) datatypes in the region. It appears that the hard-coded where clause for the attachment regions includes the following clause:
    and datatype_id in (6,2,1,5)
    This where clause is added to the view FndAttachedDocumentsDomExtensionVO at runtime. The controller class is oracle.apps.ak.attach.webui.AkAttachmentListCO. At runtime AkAttachmentListCO.processRequest calls AkAttachmentHolderCO to build the where clause. This class has 2 methods (one for AK framework, one for MDS migrated modules) which actually create the where clause:
    initAkAttachmentsVO calls FndDocumentsVlVOImpl.class (for AK based pages)
    initMDSAttachmentVOs calls OAAttachmentUtils.buildWhereClauseForAttachmentVO (for MDS repository based pages).
    Is there any easy way to extend this region to allow additional attachment datatypes? The prospect of extending the controller class and then digging down to this level does not seem desirable.
    Also, is there any way to hide individual columns in the Attachments Table region? I have not had any success with overriding the controller class and getting a handle to the actual attachment table item.
    Thanks in advance,
    Ed

    Hi Manmath,
    Unfortunately, XL Reporter cannot pull data from a user-defined table in to a report. Your only option is to use the built-in features of Excel itself to get the data. Excel can pull data in to a spreadsheet using a database connection (eg OLE DB or ODBC) or, if you are familiar with programming Excel using the VBA interface, you can use VBA to open a database connection and pull extra data in to a report.
    Kind Regards,
    Owen

  • OAF Attachment Table is not visible

    Hi Experts,
    I am trying to add the standard attachment region to a page. Have created Attachment Region using Personalization and
    Entity name : custom entity name
    View : Standard VO used in the page
    Primary Key : Unique column from the VO
    When I added the attachment table, the table is not appearing in the page, only the Text given while creating the Attachment Table item is being shown.
    The page is:
    Sourcing -> RFI -> Online Discussions -> Create New Message
    The strange thing is if I give any other (validation VO or summary VO) then the Attachment Table is appearing, but I can not use them because they don't have the primary key columns.
    Could you help me in finding the issue. Thanks in advance.
    Regards,
    Pavani

    Hi,
    *Entered a unique value for entity in entity map
    How did you accomplished this task ?
    have you creates a entity using AK HTML Forms responsibilty ,check FND_DOCUMENT_ENTITIES table whether your entity exists or not ?
    More details can sought in Jdev guide .
    Also if attachement not to be added as column in table , use attachment link instead of attachment table
    Thanks,
    Ashish

  • MS Access attach table error after migration

    I ran the MS Access Migration Wizard 1.5.4 to convert an Access
    97 Database to Oracle 7.3.3 (soon to be 7.3.4).
    Everthing seemed to go ok, the mdb file shows the local and
    remote attached tables, the queries are present etc. Also the
    ODBC link is fine within the mdb file, in that I can browse the
    data on the Oracle database.
    However when I start the MS Access application which is in an
    mde file, I get the following error :
    modRefresh AttachTables Error: The Microsoft Jet database engine
    cannot find the input table or query 'tablename'. Make sure it
    exists
    and that its name is spelled correctly. (3078)
    The application continues to work fine if I put the original mdb
    file back.
    Is anybody able to help identify what the problem is or how to
    turn on some debugging that might help. Any help appreciated as
    I don't have a lot of experience with Access.
    Thanks,
    Mike.
    null

    Mike,
    The Migration Wizard only supports one level of linked
    tables.
    Regards,
    Marie
    Robert R. Wagner (guest) wrote:
    : Mike:
    : I'm pretty new to the business of migrating data from Access 97
    : to Oracle, but I'm pretty sure that we need to give up using
    : linked tables when we do this. This was a (wonderful) benefit
    of
    : the Jet Engine.
    : I'm now looking at using ADO and OLE-DB with the (eventually to
    : be) migrated data. It's a whole new learning curve to climb!
    : Cheers >>>>>> Robert
    : Mike Connell (guest) wrote:
    : : I have now realised the error is because Access doesn't seem
    : to
    : : support linking to already linked tables.
    : : That is the mde file is running via linked tables to the mdb
    : : file. If the tables in the mdb are renamed and replaced by
    : : queries to new tables linked to an Oracle database, the mde
    : : fails to find the tables it expects to use.
    : : If anybody knows a workaround for running Access to allow
    more
    : : than one level of table linking, then please let me know.
    : : Thanks,
    : : Mike Connell
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Attachment table not visible

    Hi, all.
    I put an "Attachment Table" item in my page and I notice that:
    when I create a new record in the table where there is the declared attachment entity and
    the primary key that links the attachment record, the attachment table works fine;
    if I dsconnect from EBS and re-connect looking for the same record, the layout of the page
    does not render any attachment table and the attachment header is shown alone.
    In the FND_DOCUMENT table I see correctly all attachments related to that primary key.
    What happens?
    Thank you
    Regards
    -- Vincenzo

    Hi, all.
    I solved myself the problem.
    Sorry, but I set the wrong VO for the attachment table. Now, it works.
    Thank you
    Bye
    Vincenzo

  • Attachment Table - Primary Key in CO

    How can I add dynamically the primary key VALUE to an attachment table in CO processRequest??
    Thanks!
    Edited by: user12190100 on Apr 12, 2010 1:43 PM

    Yes Fact Table can have a Primary key
    But in your case it looks like the Other Table which is storing Day to Day transaction should be made FACT , and the one you are calling FACT should be made Dimension..
    Well depends again, how you are analysing data and against which attributes
    Thanks
    Ashish

  • Limit File Type and file size in attachment table.

    Dear All,
    I want to limit file type like .jpg,.mpgv files while ataching files in attachment table in oracle apps. Also want to limit file size.
    Please help.
    Thanks

    Refer below link regd implementing file upload:
    File Upload
    We can get file type using
    DataObject fileUploadData =
    (DataObject)pageContext.getNamedDataObject("fileInput2");
    //here OAFileUploadBean is "fileInput2"
    String contentType = fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
    Based on this file type write your login in processFormRequest.
    Will let you know if I find anything about size also.
    -Anand

  • How to implement attachment table in create page

    Hi
    I tried to add an attachment table in create page,but the table is not appearing.
    Is it because that the primary key attribute mapped to attachment table is committed only after clicking submit button in create page?.
    I am using a sequence for primary key.
    Thanks,
    Sridharan

    Hi ,
    Please see following post in forum
    Attachment table is not appearing in the page.
    Thanks ,
    Ashish

  • Attachment Table Data loss

    Hi all,
    I have a create page with a header information and 5 line table. I want to add an attachment table and use standard FND tables for them.
    User fills out some information in the page. This means that I have an open transaction and my view objects are dirty. However the data is lost when i navigate to the attachment page (add attachment) and return back (cancel or apply) to my create page which still has an open transaction. It is still unsolved even I set automatic save to true which is a thing that i dont want. I want to commit the attachments with my custom create page apply button.
    Really need help about this issue. Our development is stopped due to this problem.
    EBS Version: 12.1.3
    JDeveloper: 10.1.3
    Regards,
    Anil.

    Hi,
    It doesn't work. Besides I need to use Attachment table not attachment image.
    When i add an attachment table to a standard page, it is working properly. However If i add to my custom page, my data is lost when i come back from attachment page.
    Really need help about this issue.
    Regards,
    Anil.

  • Attachment table

    Hi, all.
    I'm affording the issue with our architectural flow about an external procedure that wants to load an attachment without using our standard attachment page we have developed.
    I know the attachments are managed by an internal table of the system.
    I would like to know whether or not I can use some APIs to put some PDF files directly in this table.
    What's the name of this table?
    What's the schema?
    Is it dangerous to put the attachment without an attachment-enabled region?
    Thank you very much
    Vincenzo

    You can directly put attachments in internal attachments table.
    You can get the required methods in file oracle.apps.fnd.framework.server.OAAttachmentServerUtils.java
    The tables being used are :
    Fnd_Attached_Documents
    Fnd_documents_vl
    fnd_lobs_vl
    fnd_documents_short_text
    Thanks,
    Deepak

  • Disable delete icon in attachment table row in OAF

    Hi,
    I want to disable the Delete Icon in the attachments table in OAF Standard page. If the value in Title of that attachment row is "Requisition" the Delete Icon of that row should be disabled.
    It the Title is anything else then the Delete Icon should be enabled. Please let me know how to achieve this.
    Basically, if the Title is "Requisition", users should not be able to delete that attachment.
    Thanks,
    Srikanth

    Hi,
    check the program name for the transaction and create a screen exit for the same.
    Also u can go for copying the code in customer namespace and then add ur own functionality to dactivate or remove the delete function.
    Pls reward points for the answer.
    Regards,
    Ameet

  • How to attach table type value set to LOV of oaf page

    Hi everyone,
    There is a valueset created in the front end say xx_ap_valueset which is of table type and created on a table xx_ap_table having some where cluase and order by clause.
    Is there a way we can attach this value set to a LOV of oaf page? or is it just that i need to create a vo and replicate the select statement used in the valueset.
    Please help!
    Thanks
    Sunny

    Sunny,
    You cannot attach the Valueset to the Lov directly. You need to create a VO for that.
    Regards,
    Gyan

  • Online Multiplayer Table Game Framework

    I'm another person who is considering creating an online multiplayer java based game with a collection of different tables to which users can connect. This would be similar to the yahoo games or any of the online poker games.
    Does anyone know of a java framework for creating the server part for these types of games? I've looked but couldn't find any.

    You will probably have to build it from scratch. I suggest reading the Networking section of the Java Tutorial - http://java.sun.com/tutorial .

  • Workflow attachment table

    Dear expert,
    Anyone of you know what is the name of the table that store workflow attachment?
    Thanks.
    Regards,
    Bryan

    Hello,
    I mean (and this is the case all over SAP) that names of tables can change, things can be stored in different areas, from version to version. That's why it's better to use the SAP-standard functions because then they'll update them between versions and you don't have to.
    regards
    Rick Bakker
    Hanabi Technology

  • Utilizing an Attachment table generates errors

    i wonder if anyone can assist me
    i get the following error when trying to get a attathment table to render
         Logout
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2344)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    at OA.jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.NullPointerException
    at oracle.apps.fnd.framework.webui.OAAttachmentUtils.cacheAttachmentProperties(OAAttachmentUtils.java:914)
    at oracle.apps.fnd.framework.webui.OAAttachmentTableHelper.processRequest(OAAttachmentTableHelper.java:465)
    at oracle.apps.fnd.framework.webui.beans.layout.OAAttachmentTableBean.processRequest(OAAttachmentTableBean.java:139)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    at OA.jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
    at oracle.apps.fnd.framework.webui.OAAttachmentUtils.cacheAttachmentProperties(OAAttachmentUtils.java:914)
    at oracle.apps.fnd.framework.webui.OAAttachmentTableHelper.processRequest(OAAttachmentTableHelper.java:465)
    at oracle.apps.fnd.framework.webui.beans.layout.OAAttachmentTableBean.processRequest(OAAttachmentTableBean.java:139)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
    at OA.jspService(OA.jsp:40)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)

    Is it coming from a seeded code ? cause the stack doesn't point to any custom code. Any detail on how it started or what you did on your part?
    --Shiv                                                                                                                                                                                                                                                                                                               

Maybe you are looking for