API for creating folder

Hello world...

could someone tell me how to create the folder to a specific location with using platform-specific code.

I have the path in a variable of type ai::Filepath.

I couldn't find any more who can do.

can anyone suggest me?

Thank you

deepalone

Boost::filesystem

Tags: Illustrator

Similar Questions

  • API for creating value

    Hello

    Is there an API for creating value and the value of values in R12?


    Thank you
    Praveen

    Published by: praveen Elvis on April 9, 2009 12:18 AM

    Hello

    Try FND_FLEX_VALUES_PKG API.

    Oracle integration repository
    http://IREP.Oracle.com

    R12, repository integration Oracle is shipped as part of the E-Business Suite (as a responsibility).

    Kind regards
    Hussein

  • API for creating assets

    Hello everyone,
    This is the API that I used for creating assets in R12.2 version:
    ---------------------

    -set serveroutput on;

    DECLARE

    l_trans_rec FA_API_TYPES.trans_rec_type;

    l_dist_trans_rec FA_API_TYPES.trans_rec_type;

    l_asset_hdr_rec FA_API_TYPES.asset_hdr_rec_type;

    l_asset_desc_rec FA_API_TYPES.asset_desc_rec_type;

    l_asset_cat_rec FA_API_TYPES.asset_cat_rec_type;

    l_asset_type_rec FA_API_TYPES.asset_type_rec_type;

    l_asset_hierarchy_rec FA_API_TYPES.asset_hierarchy_rec_type;

    l_asset_fin_rec FA_API_TYPES.asset_fin_rec_type;

    l_asset_deprn_rec FA_API_TYPES.asset_deprn_rec_type;

    l_asset_dist_rec FA_API_TYPES.asset_dist_rec_type;

    l_asset_dist_tbl FA_API_TYPES.asset_dist_tbl_type;

    l_inv_tbl FA_API_TYPES.inv_tbl_type;

    l_inv_rate_tbl FA_API_TYPES.inv_rate_tbl_type;

    l_return_status VARCHAR2 (1);

    number of l_mesg_count;

    l_mesg varchar2 (4000);

    BEGIN

    dbms_output. Enable (10000000);

    FA_SRVR_MSG. Init_Server_Message;

    -info desc

    "- l_asset_desc_rec.asset_number: = ' 1234567 ';

    l_asset_desc_rec.tag_number: = ' Vedic12345-2';

    l_asset_desc_rec.Serial_number: = ' VEDIC3567-2';

    l_asset_desc_rec.in_use_flag: = 'YES ';

    l_asset_desc_rec.new_used: = "NEW";

    l_asset_desc_rec.owned_leased: = "OWNER";

    l_asset_desc_rec.current_units: = 1;

    l_asset_desc_rec. Description: is "2 OFFICE of BUENOS AIRES".

    l_asset_desc_rec.asset_key_ccid: = 3;--3

    -Cat Info

    -Valid value in FA_CATEGORIES

    l_asset_cat_rec.category_id: = 5; -197

    -type info

    l_asset_type_rec.asset_type: = 'CAPITALIZED ';

    -Property financial information-

    l_asset_fin_rec.set_of_books_id: = 1;

    l_asset_fin_rec.date_placed_in_service: = TO_DATE('25-SEP-2006','DD-MON-RRRR');

    l_asset_fin_rec.deprn_start_date: = TO_DATE('25-SEP-2006','DD-MON-RRRR');

    l_asset_fin_rec.deprn_method_code: = 'STL'; - STL

    l_asset_fin_rec.life_in_months: = 240;

    l_asset_fin_rec.original_cost: = 50000;

    l_asset_fin_rec. Cost: = 50000;

    l_asset_fin_rec.prorate_convention_code: = 'FOL-MONTHS ";

    l_asset_fin_rec.salvage_type: = 'AMT "; -PCT - percentage

    l_asset_fin_rec.salvage_value: = 1000;

    l_asset_fin_rec.percent_salvage_value: = NULL;

    l_asset_fin_rec.depreciate_flag: = 'YES ';

    l_asset_fin_rec.orig_deprn_start_date: = TO_DATE('25-SEP-2006','DD-MON-RRRR');

    -info deprn

    l_asset_deprn_rec.set_of_books_id: = 1;

    l_asset_deprn_rec.ytd_deprn: = 20000;

    l_asset_deprn_rec.deprn_reserve: = 20000;

    l_asset_deprn_rec.bonus_ytd_deprn: = 0;

    l_asset_deprn_rec.bonus_deprn_reserve: = 0;

    -Book / trans info

    -Valid value in FA_BOOK_CONTROLS

    l_asset_hdr_rec.book_type_code: = 'OPS CORP.;

    -info distribution

    l_asset_dist_rec.units_assigned: = 1;

    -Valid registration of other Code GL with record type = 'E' (fresh)

    l_asset_dist_rec.expense_ccid: = 14652;

    -Valid value in places of FA

    l_asset_dist_rec.location_ccid: = 824;

    l_asset_dist_rec.assigned_to: = NULL;

    l_asset_dist_rec.transaction_units: = l_asset_dist_rec.units_assigned;

    l_asset_dist_tbl (1): = l_asset_dist_rec;

    -call api

    () FA_ADDITION_PUB.do_addition

    -settings std

    p_api_version = > 1.0,

    p_init_msg_list = > FND_API. G_FALSE,

    p_commit = > FND_API. G_FALSE,

    p_validation_level = > FND_API. G_VALID_LEVEL_FULL,

    p_calling_fn = > null,

    x_return_status = > l_return_status,

    x_msg_count = > l_mesg_count,

    x_msg_data = > l_mesg,

    -api settings

    px_trans_rec = > l_trans_rec,

    px_dist_trans_rec = > l_dist_trans_rec,

    px_asset_hdr_rec = > l_asset_hdr_rec,

    px_asset_desc_rec = > l_asset_desc_rec,

    px_asset_type_rec = > l_asset_type_rec,

    px_asset_cat_rec = > l_asset_cat_rec,

    px_asset_hierarchy_rec = > l_asset_hierarchy_rec,

    px_asset_fin_rec = > l_asset_fin_rec,

    px_asset_deprn_rec = > l_asset_deprn_rec,

    px_asset_dist_tbl = > l_asset_dist_tbl,

    px_inv_tbl = > l_inv_tbl

    );

    -dump messages

    l_mesg_count: = fnd_msg_pub.count_msg;

    If l_mesg_count > 0 then

    l_mesg: = Chr (10) | substr (fnd_msg_pub.get

    (fnd_msg_pub. G_FIRST, fnd_api. G_FALSE),

    1, 250);

    dbms_output.put_line (l_mesg);

    because me in 1... (l_mesg_count - 1) loop

    l_mesg: =.

    substr (fnd_msg_pub.get

    (fnd_msg_pub. G_NEXT,

    fnd_api. G_FALSE), 1, 250);

    dbms_output.put_line (l_mesg);

    end loop;

    fnd_msg_pub.delete_msg ();

    end if;

    If (l_return_status <>FND_API. G_RET_STS_SUCCESS) then

    dbms_output.put_line ('FAILURE');

    on the other

    dbms_output.put_line ('SUCCESS');

    dbms_output.put_line ('ASSET_ID:' | to_char (l_asset_hdr_rec.asset_id));

    dbms_output.put_line ('ASSET_NUMBER:' | l_asset_desc_rec.asset_number);

    end if;

    end;

    /

    In the end, I get successfully creating assets:

    SUCCESS

    ASSET_ID: 118656

    ASSET_NUMBER: 118656

    But when I ask in both front end and back end, that I can't see, please suggest me if Miss me something...

    Select * from FA_ADDITIONS_B where asset_number = '118656'

    Did you not want to commit?

    p_commit -Online FND_API. G_FALSE,.

    See you soon,.

    Vignesh

  • API for creating objects?

    Hi all
    is there a way taken in charge to create objects (pages, areas, articles,...) by script?
    We need to migrate the repository based systems (c++), so it would be very nice...

    Thank you for your help.
    JFLE

    jfle wrote:

    is there a way taken in charge to create objects (pages, areas, articles,...) by script?

    In a Word, no.

  • Graphic of alias created for the folder is not transferred in the doc.  Everything in batteries.

    Graphic of alias created for the folder is not transferred in the doc.  Everything in batteries.  Done in PS and saved as a JPEG.  I did a lot.  not sure why it does not work now.  These are records that have elements in them and it only shows the stacks of items in the folder in the doc.

    ideas?

    control, click the icon in the Dock and have her take > folder

  • R12 - API to create a serial numbers for ordered point in reception

    Hi all

    I had a requirement to create PO receipt using PL/SQL code. For this I created the PL/SQL code to insert data into the tables Interface below,
    (a) rcv_headers_interface
    (b) rcv_transactions_interface

    After inserting data in the Interface table executed program simultaneous "receiving Transaction processor" to deal with the Interface to Base of Table table data. This process works perfectly fine for applications for "Non-catalogue." But if I try to treat any PO have the item in stock including series control is set on "at the reception" so I got following error in the Interface table.
    "In case of failure to validate soap operas".

    To resolve this problem, I need to create and number of process for the ordered article selected to receive. Can anyone guide me regarding how can I generate serial numbers using the APIs for the received PO.

    Kind regards
    Priyanka

    Hello

    Just fill out mtl_serial_numbers_temp table correctly (by specifying transaction_temp_id = RTI.interface_transaction_id)
    and the serial number are respectively fm_serial_number - to_serial_number.

    You can records MSNT entermultiple with the same transaction_temp_id.

    You may need to fill PRODUCT_TRANSACTION_ID = RTI.interface_transaction_id and PRODUCT_CODE = "RRS".

    Oracle will create all the serial numbers for you when files handled.

    Thank you
    Claire

  • Java API to create a password for a user

    I used the Java API to create a user in Livecycle, but I can't seem to find a way to give this user a password.

    Here is the code I use to add the user.

    http://help.Adobe.com/en_US/LiveCycle/9.0/programLC/help/index.htm?content=000004.html

    Once the user is defined in LiveCycle I want the user to set the password to a Web page. How to make this happen?

    Thank you.

    Take a look on change the password of the user recipe.

  • error code 10 to create folder

    I develop a vi in which I have to create a folder in any drive (for example, D:\dataacquisition) in the acquisition of data folder, I have to create the folder date and name of the folder and we must create files of information of the patient for example, and as this different files in the folder name, I showed this to the attached vi , now the problem is the following that when I run the vi for the first time where no record was made it works ok with no errors, but when I run again the vi with a different patient name it displays error code 10 to create the folder, I know that this error is because the same folder is already present , but the problem when an error comes new patient record is not created, I have tried several things but unable to avoid or remove this error, is it possible to remove this error or if there is another option of creating folder in LabVIEW.

    I enclose the vi.

    Hello

    I've simplified your code a bit.

    Let us know if you need additional assistance

  • Special software is required to install an icon for a folder?

    Hello

    Special software you need to install a free icon ending in .png to a new folder I created?

    I don't really know anything about the installation of free custom icons.

    Thank you

    I understand that you want to install a file .png for a folder.

    Special software is unnecessary.

    Follow these steps"

    1. Select the folder

    2. right click and select Properties

    3. click on customize

    4. under image folder, click on choose an image

    5. navigate to your .png file

    6. click on OK

    7. click on OK

    Hope this helps

    Post back if necessary

    ____________________

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Create folder option on desktop and in the sub directory folder on windows vista__

    One day after running a secure deletion of files program, I tried to create a new file on my desktop using the standard approach right of the mouse. However, the possibility of creating a new folder was missing. I still have the options to make a compressed folder paper towel, etc, but the option for a folder of the aircraft disappeared. I tried to create a folder in a subdirectory, and again, the opportunity to make a new folder has disappeared.

    I tried to change the folder options in the menu folder in Explorer without result options. Can someone give me a solution so I can retrieve the new files option

    Any help will be greatly appreciated.

    Thank you

    Here is the procedure to restore the option of new files (as well as all the other default values that you don't need, but will take place at the same time and not harm harm) to the context menu in Vista: http://www.vistax64.com/tutorials/154554-new-context-menu-restore-default-menu-items.html.

    I hope this helps.

    Good luck! Lorien - a - MCSE/MCSA/network + / A +.

  • API for CCW ConfigSets Import / Export

    Hello, is there a published API for import / export / share of ConfigSets, for example from/to a third party the CRM tool / CPQ? It seems that Netformx DesignXpert has these capabilities: http://www.netformx.com/DesignXpert_15.0.1

    Hello Andrea,

    Nice day!

    Please be informed that, according to other research, there are APIs to create (import), get (export) and share configset. Import and export are based on XML API and don't use other formats. These APIs are available to partners of the strategy as Netformix. However, it is not available in CCW to 3 parts from the time.

    If you have further clarification with this, kindly soft hand with your friends to raise this concern with the product team / developers.

    Thank you and best regards,

    Jen C.

    CCW support team

  • API bulk: creating custom objects, fields, and lists?

    Hi all

    I have searched and passed through the ticket of support for routing, but have not yet managed to find an answer to this question, so I thought that maybe the people who write the API would be the best ones to talk to

    Anyway, in summary, my question is:-

    Is it possible to create lists of contacts, the Contact fields and items customized by using the bulk API 1.0?

    I know, it is possible to create new contacts and add them to an existing list, but I want to create a new list with the bulk API and then add my contacts on this new list.

    Same kind of thing for the Contact fields. I want to be able to check if there is a Contact field and if not create one and then fill in the import.

    Once again, even for custom objects. I know I can do a GET for all currently available Custom objects, but can I create a new using the API as a whole?

    Any help would be most appreciated.

    Thank you

    Hi Chris,

    You cannot create contact fields, shared lists or the custom objects through the bulk API (which in fact is a RESTful API), they must exist already.

    You can use the REST or lists The SOAP API to create only shared the REST API to create the contact fields, but SOAP or REST currently supports the creation of custom data objects.

    If you don't have it already, please take a look here, building on The Eloqua Platform - A Resource Guide and there REST API - Documentation for kernel objects that will hopefully more questions.

    T.J.

  • How to use PS to judge the existence of a file in the directory specified and how to use PS to the directory specified for create to create the file? (javascript)

    1, how to use PS to judge of the existence of a file in the specified directory? (using javascript)

    2, how to use PS to the directory specified for create to create the folder? (using javascript)


    Thank you!

    If (Folder(/*_insert_the_path_here_*/).exists == false) {Folder(/*_insert_the_path_here_*/).create()}

  • How to use 11g API for adaptars custom

    Hello
    I write adaptar customized for OIM 11 g. Old api using, I am able to write the code and it is woring fine. But I want to use 11g APIs. Please let me know how to get the dataprovider in 11g APIs.

    for example, I wrote the code to get the take below. and after you create the jar, I do address in the console of the design. dataprovider is maped reference of database. How to achieve the same using 11g APIs.

    in the Sub wxample, I used tcUserOperationsIntf but I want to use oracle.iam.identity.usermgmt.api.UserManager. Please let me know how to connect with IOM witout using tcDataProvider. using the connection of the customer we can do that, but in this case it must encode url, id, password etc I think that.


    {public long findUserKey (String employeeid, dataProvider tcDataProvider)

    HashMap map = new HashMap();
    Map.put ("Users.User ID", employeeid);
    long take = 0;

    try {}
    tcUserOperationsIntf userOperationsintf = (tcUserOperationsIntf) tcUtilityFactory.getUtility (dataProvider, "Thor.API.Operations.tcUserOperationsIntf");
    result = userOperationsintf.findUsers (map) tcResultSet;
    {if (result. {(GetRowCount ()! = 1)}
    return 0;
    } else {}
    Take = result.getLongValue("Users.Key");
    }
    } catch (Exception e) {}

    }

    Return take;
    }

    You need not to the map in the console design for use in your adapters. Just use Platform.getService in your adapter code and it gives you direct access to the API.

  • FTP upload problem "error creating folder/phone".

    We have launched our new Web site in December and downloaded and updated without problems before.
    I made very minor updates today and tried 6 - 7 times now - download "changed files only" on our FTP host.
    Sometimes at 60% and accidents, saying there is an "error creating folder/phone" and try again later.

    I don't think it's a FTP host error, but rather an error in the Adobe software. I contacted MUSE initially and they

    directed me to this site for a solution, saying that it was a problem of Adobe software.

    It is a business Web site, so I need solve this problem as soon as possible.

    * I have included a screenshot of the error message below *.

    FTP Upload Error_2014 0115.jpg

    Hello

    This error occurs usually when you do not have permission full administrator on your hosting server. I suggest to contact your webhost and ask them to give you full administrator access.

    Kind regards

    Aish

Maybe you are looking for