Is there any API to obtain the current Folder ID where the user is located??

how can obtain the current folder id where the user is?
tks in advance

Folder Id is one of the attributes you can pass to a custom item
type procedure. In the custom item type, go to the Procedures
tab. At the bottom of the page, under "Pass Attributes as
Parameters" select Folder Id from the list. Under "Pass As" you
have to provide the name of the parameter in your custom
procedure.
For example, here is a procedure that displays a list of
subfolders for a given folder:
<pre>
create or replace procedure SCOTT.DISPLAY_SUBFOLDERS AS
p_folderid IN VARCHAR2,
p_siteid IN VARCHAR2)
as
begin
for c in
(select '<a href="PORTAL30.wwv_main.main?p_cornerid=' || f.id
|| '&p_siteid=' || f.caid || ">'
|| f.display_name || '</a>' theURL
from portal30.wwsbr_all_folders f, portal30.wwv_user_corners c
where c.id = f.id
and c.parentid = p_folderid
and f.caid = p_siteid ) loop
htp.p(c.theURL || '<br>');
end loop;
exception
when others then
null;
end;
</pre>
This procedure takes both the folder id and the site id as
parameters.
Regards,
Jerry

Similar Messages

  • Is there any way to see the  user name(authorized) to logon IR

    Hi,
    Is there any way to see the user name(authorized) to logon Integration Repository?
    I am getting error while trying this out.
    Can anyone please help me.
    Thanks.

    Hi,
    YES, you can see in SU01 and select the user . ANd check for the Roles assigned to that particular User.
    By seeing the Roles itself we can be able to say the Authorized or not
    Regards
    Seshagiri

  • I lost my iphone but the battery has died. Is there any way to see the last known location of my phone before it shut down?

    I lost my iphone but the battery has died. Is there any way to see the last known location of my phone before it shut down?

    No

  • Is there any api to modify the form field in PDF?

    Hi,
    Our client need we provide the editable PDF, i.e. some form fields in the PDF report can be edit. Now we created the PDF template and merged it with the XML data definition in Jdeveloper, but when we get the final PDF report, we found that the PDF form field property is changed to "Read-Only" automatically. We make sure that in PDF template the form field is not "Read-Only", something happened when we merging the XML data and the PDF template.
    Now we wonder if there is any API can help us to modify the PDF form field property, after we merge the XML data and PDF template, we can use it to change the form fields to editable, not "Read-Only".

    Hi,
    What I need is to modify some form fields' property, I explore some web and found before I create the PDF file, I can set the security of the PDF:
    Properties prop = new Properties();
    prop.put("pdf-security","true");
    prop.put("pdf-open-password","welcome");
    So I wonder if there is one property related to the PDF form field.
    Thank you.

  • Is there any API to keep the Invoice Scheduled  Payment on Hold ?

    Hi All
    Is there any public or private API to keep the Invoice Scheduled Payment on Hold? Your help would be greatly appreciated.
    Regards
    Krishna
    Edited by: krishna on Feb 21, 2012 1:17 PM

    Hii,
    Invoice goes automatically on schedule payment hold, if bank details are not updated (only in case of "Electronic" payment method). Moreover, one can manually check the box for payment hold at Schedule payment level.
    Hope this clarifies your query.
    Regards
    Sandeep

  • Is there any api to delete the Calender entry from Blackberry phone

    Hi All,
    I want to delete the Calender entry from the Blackberry programatically please can you suggest me how to do it and also example is very much helpfull.
    Thanks
    Sharan

    Ask Skype. That's not an Apple product.

  • Is there any API available to read drm files in ios devices?

    Hi,
    I am ios developer and trying to read DRM files using my app.
    I want to know is there any API available for the same.
    Thanks in Advance.

    Hi Prathap,
    No, there is no Java API specific for RDF functionality available. However, Java client applications can use JDBC to access the RDF store. A partially relevant post is at How do you query Oracle RDF database using Java program? . The JDBC documentation will have detailed documentation on using JDBC.
    Code snippets for one way of accessing SDO_RDF_MATCH through Java is below:
    <..........>
    sbStmt.append("select * from TABLE( ")
    .append(" SDO_RDF_MATCH('(?S ?P ?O)',")
    .append(" SDO_RDF_Models('")
    .append( <model_name> )
    .append("'),")
    .append("null,null,null))")
    .append(" where rownum <= ")
    .append(iNumRows)
    ResultSet rs = stmt.executeQuery(sbStmt.toString());
    while (rs.next()) {
    System.out.print("\n");
    System.out.print(rs.getString("S"));
    System.out.print(" (");
    System.out.print(rs.getString("S$RDFVTYP"));
    System.out.print(") ");
    System.out.print(", ");
    System.out.print(rs.getString("P"));
    System.out.print(" (");
    System.out.print(rs.getString("P$RDFVTYP"));
    System.out.print(") ");
    System.out.print(", ");
    System.out.print(rs.getString("O"));
    System.out.print(" (");
    System.out.print(rs.getString("O$RDFVTYP"));
    System.out.print(") ");
    <............>
    <...... handling CLOB values that are returned ....>
    // read CLOB if applicable
    Reader reader = null;
    try {
    CLOB clob = ((OracleResultSet) rs).getCLOB("O$RDFCLOB");
    if (clob == null) {
    System.out.print("not a long literal ");
    else {
    reader = clob.getCharacterStream();
    char[] buffer = new char[1024];
    // reading 1K at a time (just a demo)
    int iLength = reader.read(buffer);
    for (int i = 0; i < iLength; i++) {
    System.out.print(buffer);
    System.out.print(" ...");
    finally {
    if (reader != null) reader.close();
    <..........>

  • Are there any APIs to create an Invoice in Oracle Payables?

    Hi,
    We have a requirement to import the invoices from the operational systems. We will be making approximately 7,000 checks a day. We need to import all these payments information into Oracle Payables as Invoices and then process the payments out of Oracle payments module. We are on EBS 12.1.1
    Were there any APIs to create the invoices directly in Payables as it comes from custom application? We could use payables open interface but as we would like to integrate the payables module with custom application it would be nice if invoice creates directly in Payables through APIs.
    Thanks,

    In the enterprise edition I am able to create all the below objects.But The job is not running after file arrival.
    Could you please me in this case also.
    BEGIN
      DBMS_SCHEDULER.create_credential(
        credential_name => 'LOCAL_CREDENTIAL',
        username        => 'upncommon',
        password        => '*******');
    END;
    BEGIN
      DBMS_SCHEDULER.create_file_watcher(
        file_watcher_name => 'test_file_watcher',
        directory_path    => '/home/upncommon/pub',
        file_name         => 'sample2.sh',
        credential_name   => 'LOCAL_CREDENTIAL',
        destination       => NULL,
        enabled           => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.create_program(
        program_name        => 'file_watcher_test_prog',
        program_type        => 'STORED_PROCEDURE',
        program_action      => 'PROC_SCH',
        number_of_arguments => 1,
        enabled             => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.define_metadata_argument(
        program_name       => 'file_watcher_test_prog',
        metadata_attribute => 'event_message',
        argument_position  => 1);
    END;
    BEGIN
      DBMS_SCHEDULER.create_job(
        job_name        => 'file_watcher_test_job',
        program_name    => 'file_watcher_test_prog',
        event_condition => NULL,
        queue_spec      => 'test_file_watcher',
        auto_drop       => FALSE,
        enabled         => FALSE);
    END;
    BEGIN
      DBMS_SCHEDULER.set_attribute('file_watcher_test_job','parallel_instances',TRUE);
    END;
    EXEC DBMS_SCHEDULER.enable('test_file_watcher');
    EXEC DBMS_SCHEDULER.enable('file_watcher_test_prog');
    EXEC DBMS_SCHEDULER.enable('file_watcher_test_job');

  • Is there any API in J2ME sdk to get the moibile device ID?

    Hi,
    I am very new to J2ME. Is there any API in J2ME sdk to get the moibile device ID (mostly the phone number)? Does MIDP 2.0 provide this or is it there in someother optional JSRs? Does it portable across all the devices?
    Regards

    Use Device provider API if they support otherwise in J2ME its not permitted due to security issue.
    Sun-shine.

  • Is there any API ( HTTP / WebService ) for listing the objects supported ?

    Hi
    I wish to know if there is some mechanism ( API ) that I can make use of to dynamically get the list of objects ( accounts , leads etc ) supported by Oracle CRM on Demand ?

    How to convert Vector elements into array of objects?
    Is there any API for this?
    For ArrayList class there is Method i.e.
    Object ob[]=arr.toArray();
    But i don't know abt vectors.
    plz give me the example.The toArray() method is available in the List interface. SInce ArrayList and Vector are both implementing classes... they should have this method. In short, the same would work for Vector. Logical, isn't it?
    ***Annie***
    (since when did I start thinking logically...)

  • Is there any way to get the height/width of an image before importing it in the indesign document.

    Hi All,
    I need to obtain an image's attributes such as dimensions (height, width in pixels) without placing image in indesign document.
    I have full path of the image (say abc.jpg is stored at c:\my pic\abc.jpg).
    I have obtained the IDFile for this image, tried getting size using GetFileSize() which correctly return size in bytes.
    Is there any way to get the height/width of image without importing it in the indesign document.
    Please, give me some hints. I have spent quite a lot time digging in CHM. I have searched in FileUtils, IDFile API's but found no method which serves this purpose.
    At this point I am clueless where to search next.
    Any help will be appriciated.
    Just a point to mention, I am able to get image height and width for an image in indesign doc though Its not my requirement.
    Thnx,
    D.

    You might be able to examine the contents of the PlaceGun after calling kImportAndLoadPlaceGunCmdBoss without actually placing the image in a document. Not sure, but would be worth looking at.
    Otherwise you will probably have to write platform specific code, ideally with a generic platform-independant wrapper (see SDKSamples/paneltreeview/PlatformFileSystemIterator).
    For the Mac, look at CGImageGetWidth() etc., not sure what the best option is for windows.
    Perhaps Quicktime could provide you with a platform independant solution.

  • Is there any API's to create requisitions?

    Hi
    Is there any API's to create requisitions?
    Appreciated quick reply
    Regards,
    Ramesh.

    I am currently using a Sinetfactory thirdparty package from JScape for the Secure FTP functionality(FTP over SSH). But Sinetfactory package tranfer rate is much slower than the manual sftp(command-line run in linux server for manual ftp using ssh).
    Since it is very slower than ordinary sftp(ftp over ssh), I thought of using other thirdparty FTP package which supports FTP using ssh port. Can anyone please suggest me a thirdparty package which will has the sftp functionality and with better transfer rate.

  • Are there any APIs to load FND and other objects

    Hi
    We are having HR2HR configured and running between EBS R12.1.3 and Fusion. But the HR2HR does not bring in data in EBS like in Descriptive Flex Fields (DFF), User Defined Tables (UDT), Extra Information Types (EIT) & Lookups. How can we bring in this data in to Fusion. Are there any APIs? If not what is the Support model from Oracle if we are directly updating the tables?
    Thanks!
    Srinivasa Sunchu

    Happy Camper: Based on doc 1482027.1 in support system:
    DFF is not currently supported by HR2HR.An Enhancement Request (ER) has been logged to request this functionality:
    ER: Bug 12883914 - ER REQUEST - DFF FLEXFIELDS AND EIT'S NEED TO BE INCLUDED IN THE HR2HR AND INTER
    >
    For alternatives and the Support model I do not have answer, will reach out to try to find out.
    Kiran: This is an external forum, so the readers would not have access to internal documentation. Are the HCM scripts available externally i.e. through the support system? If not are there plans for providing them externally ?
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • Is There any API in receivables payment will made against closed invoices ?

    Hi ALL,
    i have requirement as below.
    i am doing AR Invoice Data Migration for Instance 11.5.5 (as a Source Instance) to the new instance R12 (as a target instance).
    Both open and closed invoices will have to be migrated from 11.5.5 to R12 to provide the drill down facility for audit purpose.
    To meet the above requirement all the open and closed invoice will be picked up from 11.5.5 ; and imported into R12..
    Subsequently, full payment will be made in R12 against all closed invoices in 11.5.5 to close those invoices by using any APIs?
    can some one explain is there any API in receivables payment will made against closed invoices.
    Thanks,
    VSR.

    Hi,
    Can you be clear on your question: You want any API to make payment against closed invoices?
    To me, You are making things complex. We can achieve the Migration of Closed invoices using following two procedures:
    Procedure: 1
    Ask Functional Guy to create a Transaction Type 'Closed Invoices' with Open to Receivables Flag not checked. +(You can uncheck Post to GL flag also, if required depending on your migration strategy)+. Status at Transaction Type if taken as 'Closed' it will be appropriate.
    Invoices migrated using this Transaction Type shall not be shown as Outstanding but will be useful for Audit.
    Procedure: 2
    Consider the amount due Original of Closed Invoices and migrate them with the amount as Amount due remaining.
    While migrating populate Receipt Method,Payment Method and Instruments useful for Automatic Receipts.
    Once Create Automatic Receipts Program is run, it will close all these invoices. Note: We require dummy bank here which points to a Clearing account.
    Automatic Receipts program is also an API.
    In the above 2 ways, we are acheiving the Goal by using Functional knowledge rather than Technical. And I think following Functional way is better and less time consuming.
    Please discuss with your Functional consultant if required. You can succeed.
    Regards,
    Sridhar

  • Is there any way to retreive the FileName in the mapping

    Is there any way to retreive the FileName and so that I can use that in my mapping. This is FILE2RFC scenario with NO BPM.
       I am using the adapter specific message attributes in the file sender CC.
    Thanks,
    Ravi
    null

    Yes you can retreive it.  Create an simple user defined function in the mapping and use the following code.
    Imports: com.sap.aii.mapping.api.*;
    Parameter: String filename
    Paramter: String filename;
    filename = fileName + ".DAT";
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return filename;
    Or
    Just do whatever mentioned in this weblog:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    ---Satish

Maybe you are looking for

  • Sales Order + Activity query

    Hi, I set up the following query in one company: SELECT T0.DocNum, T1.ClgCode, T3.U_NAME, T2.name, T1.endDate, T1.Priority, T0.CardCode, T0.CardName, T0.NumAtCard, T0.DocDate, T0.DocTotal FROM ORDR T0 LEFT OUTER JOIN OCLG T1 ON T0.DocNum = T1.DocNum

  • Different Apple ID yet same contacts?

    Ok I'm having a lot of trouble with Contacts. Prior to updating to IOS 8 me and my wife shared the same apple ID. After upgrading to IOS 8 we started to receive phone calls on the both phones instantaneously as if our phones had two phone numbers and

  • E61: Compatibility issue with Excel sheets

    Hello, I am having difficulties transferring an Excel file from my E61 to my laptop running Office 2007: I had originally written the file in Office 2003 and I have now added two more sheets to the file and renamed the original sheet on my E61. When

  • Another Apple TV not showing up in iTunes...

    Ok, this is the config: Apple tv Software 1.1, iMac Intel 07/2007 with OS X 10.5.1, iTunes 7.6. All of a sudden the Apple tv did not show up in iTunes anymore (after working perfectly before). I have another MacBook and a Windows Vista System, both h

  • Jdbc in applets

    I get the applet panel displayed in a web page. however when the user clicks on the button contained within the panel, nothing happens. In the appletviewer clicking on the button leads to a applet window containing data retrieved from the database (w