How to create a folder under BEA Repository through code
Hi All,
We are trying to create a folder under the BEA Repository through Java code. Could you please post the right API for it.
We have tried the InodeManger class and its addNode method, which is good for creating any content, but we are trying to create the folder itself from the code.
Thanks
Veera
Hi Veera,
You're on the right track. The INodeManager.addNode method is the way to go. You just need to specify an object class name of a folder object class. Out of the box there's one, and this is configurable for your given repository's configuration. Once you add nodes of this type they'll be badged as folders in the portal admin tools.
-Ryan
Similar Messages
-
How to create the folder in presentation server through pop-up(
Hi Experts,
Can u give me the solution , how to create the folder in presentation server through pop-up(means dynamically, after executing the program , pop-up has to come to create the folderand path)
regards
ram.Use the methods -> DIRECTORY_BROWSE & DIRECTORY_CREATE of the class CL_GUI_FRONTEND_SERVICES
DATA: path TYPE string,
rc TYPE i,
dir_name TYPE string value 'HI'.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
CHANGING
SELECTED_FOLDER = path
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
concatenate path '\' dir_name into path.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE
EXPORTING
DIRECTORY = path
CHANGING
RC = rc
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Edited by: Kartik Tarla on Sep 23, 2009 5:54 PM -
How to: Create a folder directly under the KM content 'Root' directory
I need to create a new folder directly under the 'root' directory of the KM content...
If I go to the KM root directory and click on any of the folders in it, I can create new folders.
For example: clicking on the 'documents' folder. Opening it, I can create new folders by clicking on 'Folder' --> 'New' --> 'Folder'.
However, when I am in the root directory itself, the only option under 'Folder' is 'Clipboard'.
How can I create a new folder under the Root? Am I missing a role?
Cheers,
Edwin.You cannot create a folder under root directory
all the folders that you are seeing under root are KM Repositories.
You need to create a repository and then in that you can create a folder structure.
As an example Documetns is a standard SAP KM repository. You can also create your own repository under
system admin-> system configuraiton->KM->CM-> Repository Managers
There you can get options of creating the repositories
Hope it is clear
also check the below thread that will help you
http://help.sap.com/saphelp_nw70/helpdata/en/e3/923224b24e11d5993800508b6b8b11/frameset.htm
Raghu
Edited by: Raghavendranath Garlapati on Jul 16, 2009 9:39 AM -
How to create a folder dynamically in KM repository
Hi All,
Could you please let me know how to create the folder dynamically in KM...
Thanks in Advance,>
Romano Bodini wrote:
> Hi,
>
> Search the forum. And the SDN. Then ask.
>
> [Creating folders in KM dynamically|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1761]
>
> Romano
Actually, "look at the API documentation" should be in that list. -
How to Create an iView under Home in Standard User Role
Hi,
Can anybody guide me how to create an iView under Home which access the content available from Windows Share folders on a non SAP system.
Its not URL iView , I wanna create an iView to access the content from a windows system (
share)
ThanksYou have to create a File System Repository Manager under System Admin -> KM Admin. You can access any Windows Shared drive through that File System Repository manager. The shared folder would be displayed in your portal like a KM folder. You can easily create a KM Navigation iView (from template) over that folder and achieve your goal.
Please see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/92322ab24e11d5993800508b6b8b11/content.htm">THIS</a> for the complete documentation on how to do this step by step.
Regards,
Shubhadip -
How to create a folder for a specific e-mail account?
How to create a folder for a specific e-mail account?
I'm using a POP e-mail account and I would like to create folders / sub-folders... how can I do this?You can right click on your Desktop and select New Folder. In Finder File > New Folder should work too, not in front of my Mac.
Welcome to back by the way. You might find these websites helpful.
Switch 101
Mac 101 -
How to create a folder to store my mail?
hi,
can u tell me how to create a folder to store my outgoing mails using java mail.
Million Thanks for u
With luv
kathirhi chiru,
Thanks for ur reply.Can u tell me how to configure IMAP.I've tried to configure IMAP in outlook and then i run the program with the code u sent,but it throws
" javax.mail.NoSuchProviderException: No provider for IMAP
at javax.mail.Session.getProvider(Session.java:289)
at javax.mail.Session.getStore(Session.java:363)
at javax.mail.Session.getStore(Session.java:343)
at MessageSend.main(MessageSend.java:61)
Plz give me some soln for this excep.
Thanks in advance
Regs
Kathiravan -
Hi, i've searched without success how to create a folder (in unified folders) which contains all the messages of inboxes and outboxes (as it exists in Windows Live Mail).
For me, it would be very useful to search in only one folder when i try to find something in sent and received mails.
Thank'sThis is what Unified Folders does. I'm not sure what exactly you're trying to achieve.
http://kb.mozillazine.org/Global_Inbox#Unified_Folders
You might take a look at this article.
https://support.mozilla.org/en-US/kb/global-search -
How to create a folder in iphone3g
Hiiiiiiiiiiiiiiiiiiiiiiiiiiiii !
How to create a folder in iphone3g.............
eg : utilities & game folders..........This works for me on an iPhone 3G > http://www.online-tech-tips.com/smartphones/create-folders-on-iphone/
-
HOW TO CREATE SEVERAL folder for the generation and READING FILE
HOW TO CREATE SEVERAL folder for the generation and READING FILE WITH THE COMMAND utl_File.
please give an example to create 3 folders or directories ...
I appreciate your attention ...
Reynel Martinez SalazarI hope this link help you.
[http://www.adp-gmbh.ch/ora/sql/create_directory.html]
create or replace directory exp_dir as '/tmp';
grant read, write on directory exp_dir to eygle;
SQL> create or replace directory UTL_FILE_DIR as '/opt/oracle/utl_file';
Directory created.
SQL> declare
2 fhandle utl_file.file_type;
3 begin
4 fhandle := utl_file.fopen('UTL_FILE_DIR', 'example.txt', 'w');
5 utl_file.put_line(fhandle , 'eygle test write one');
6 utl_file.put_line(fhandle , 'eygle test write two');
7 utl_file.fclose(fhandle);
8 end;
9 /
PL/SQL procedure successfully completed.
SQL> !
[oracle@jumper 9.2.0]$ more /opt/oracle/utl_file/example.txt
eygle test write one
eygle test write two
[oracle@jumper 9.2.0]$
SQL> declare
2 fhandle utl_file.file_type;
3 fp_buffer varchar2(4000);
4 begin
5 fhandle := utl_file.fopen ('UTL_FILE_DIR','example.txt', 'R');
6
7 utl_file.get_line (fhandle , fp_buffer );
8 dbms_output.put_line(fp_buffer );
9 utl_file.get_line (fhandle , fp_buffer );
10 dbms_output.put_line(fp_buffer );
11 utl_file.fclose(fhandle);
12 end;
13 /
eygle test write one
eygle test write two
PL/SQL procedure successfully completed.
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME DIRECTORY_PATH
SYS UTL_FILE_DIR /opt/oracle/utl_file
SYS BDUMP_DIR /opt/oracle/admin/conner/bdump
SYS EXP_DIR /opt/oracle/utl_file
SQL> drop directory exp_dir;
Directory dropped
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME DIRECTORY_PATH
SYS UTL_FILE_DIR /opt/oracle/utl_file
SYS BDUMP_DIR /opt/oracle/admin/conner/bdumpRegards salim.
Edited by: Salim Chelabi on Apr 4, 2009 4:33 PM -
How to create a file under web application root from java program
how to create a file under web application root from java program like an action class?
like an action class?Huh? What exactly is your requirement?
Creating a file is usually done with java.io API. Read the java.io tutorials how to play with files. -
How to create new folder on laundchpad?
How to create new folder on launchpad? I am new, sorry
Hi Amauri17,
Launchpad works just like iOS if you're familar with the folder structure. Click, hold and drag one application onto another and it'll group them into a folder. -
How to create shared folder between mac and windows
how to create shared folder between mac and windows
Us ean external drive formatted FAT32 or ExFat. Both OSx and Windows can read/write to the drive and both can use the same data files as long as you have a program that can open and save these files. For example, Word running both on OSx and on Windows will be able to work with the same document on the external drive.
-
How to create the PO based on requisition through interface.
Hi,
In P2P,
How to create the PO based on requisition through interface.
Regards,
SrikanthHi Srikanth,
I knew it from frontend.
But i want from backend using INTERFACE .please see if this can help you
http://appshub-hussy.blogspot.com/2010/10/requisition-and-purchase-order-queries.html
http://oraclemaniac.com/2012/04/17/sql-queries-to-get-requisition-po-and-po-receipt-details/
SQL to link Requisitions with Purchase Orders
http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/how-to-find-the-po-number-if-we-give-requisition-number-3161211
http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/need-requisition-sql-query-1338985
;) AppSmAstI ;)
sharing is CAring -
How to avoid invalid data entering in LOV through code
hi
1)i have developed lov in table region, but user easily can enter invalid data and saved into the database tables.
2)i created one formvalue and mapping into that return item , still its not working in table region LOV.
3)how to avoid invalid data entering in LOV through code. i have tried this below code in EOimpl set value method. but some how its not wokring.
if (value!=null)
throw new OAAttrValException(OAAttrValException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(),
getPrimaryKey(),
"ProcurementCategory",
getProcurementCategory(),
"FND",
"FND_LOV_SELECT_VALUE");
Thanks.
krish.Thanks reetesh and gourav for your help.
i followed below mapping details
LOV Item Properties
ID -PurcCommodity
ViewInstance -VendorVO1
ViewObject -PurcCommodity
map1 properties
LOV Region Item - segment1
Return Item -PurcCommodity
CriteriaItem -PurcCommodity
Usefor Validation -Default
map2 properties
LOV Region Item - segment1
Return Item -validation(formvalue)
CriteriaItem -
Usefor Validation -yes
form value properties
ID -validation
ViewInstance -VendorVO1
ViewObject -PurcCommodity
Gourav- i double checked multiple rows it is not working, some times it is not working for single row too.
Thanks
krish.
Maybe you are looking for
-
Difference between Crystal Reports Runtime Packages
Post Author: blueyoj CA Forum: Deployment Hi, We develop an application using Microsoft .NET Framework 3.0 and we need to deploy Crystal Report viewer as a part of our setup package. Under Runtime Packages page, I see the following merge modules and
-
Best Practice Adding New Target to Namespace and Replication
Hi, whats the best way to add a new target to Namespace and replication. Goal is to replace a old file Server at the end. I did the following: - copied the share with robocopy incl timestamps of files and folders - created share - added the new share
-
How to update 2.5 64bit under XP64?
All previous updates worked as expected but when I now want to update from 2.3 64bit to 2.5 64bit on my XP64 system the installer will only install the 32bit version. I can't see any option to choose the 64bit version. Did I miss anything? Thanks Jür
-
Is there any to find out when was the essbase application created ?
Hi Gurus, Is there any to find out when was the essbase application created ?
-
Premiere, Media Encoder and Flash Cue Points - bug?
I've been encoding a number of FLV On2 VP6 videos recently and using the new Media Encoder. For this project we need flash cue points (nav and event). I've discovered some weird things in Media Encoder - it's been duplicating cue points (or maybe the