FOTY0001error when trying pass file path variable to ora:readBinaryFromFile

I want to read a file from a location,I take that file location as input and assign it to variable filePath and use
ora:readBinaryFromFile(bpws:getVariableData('filePath','payload','/tns:value')),I get FOTY0001 type error.
Any light on the issue would be appreciated.
StackTrace:
<2008-06-03 14:47:31,875> <ERROR> <default.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: XPath expression failed to execute.
Error while processing xpath expression, the expression is "ora:readBinaryFromFile(bpws:getVariableData('filePath','payload','/tns:value'))", the reason is FOTY0001: type error.
Please verify the xpath query.
ORABPEL-05002
Message handle error.
An exception occurred while attempting to process the message "com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: XPath expression failed to execute.
Error while processing xpath expression, the expression is "ora:readBinaryFromFile(bpws:getVariableData('filePath','payload','/tns:value'))", the reason is FOTY0001: type error.
Please verify the xpath query.
TIA,
-Tripti

You need to use a colon-delimited path. If the JavaScript returns a slash-delimited one, run:
set myTemplate to POSIX file "/SPACE/Marketing/webTemplatesCreation/working/template.pdf"
or:
set the_string to "/SPACE/Marketing/webTemplatesCreation/working/template.pdf"
set new_string to ""
repeat with this_char from 2 to (count the_string)
if item this_char of the_string is "/" then
set new_string to new_string & ":"
else
set new_string to new_string & item this_char of the_string
end if
end repeat
(53281)

Similar Messages

  • Passing File Path of an XFDF to a PDF

    I am attempting to pass the path to a file, an xfdf, to a PDF form and have the form fields filled in.
    I have this working with a page level script on page open -
    this.importAnXFDF("myFile.xfdf");
    How can I pass the "myfile.xfdf" to the PDF as a parameter? And then read that parameter with Acrobat javascript? Making my script look like -
    this.importAnXFDF(myFileVariable);
    I am guessing the link to the PDF would look like -
    myPDF.pdf#xfdf=myFile.xfdf
    So the whole package would be something like -
    myPDF.pdf#xfdfFile=myFile.xfdf
    Then -
    this.importAnXFDF(xfdfFile);
    Right?????
    Any help is appreciated.
    Thanks in advance.

    To pdobratz -
    The error is in the sequence editor when trying to initiate the drag of the object. I am not sure why it occurs, but the Sequence Editor is just reporting an exception that occurred when calling an API method in the TestStand engine. TestStand should still run fine.
    I tried the senario with TestStand 3.1 and the error did not occur. Starting with TestStand 3.0, most of the watch pane code was rewritten.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Downloading file passing File Path in the FM as well as Retain Values in XL

    Hi Experts,
    I am writing a report where it is required that I have an option for the user, in selection  srceen, to have an F4 help to choose the file path they want. The same should be further used to automatically download the internal table into an excel file.
    I was initially using GUI_DOWNLOAD which seemed to work fine except that certain values were not being retained in the download file,  For example , the leading zero in "02" and the value "2-6-21" gets updated in date format automatically as 02-06-2011.
    To avoid the above I tried using the FM  XXL_FULL_API which retains this value but it does not seem to have an option where I can pass the file path to download on the presentation . Instead we need to manually save the excel file when it is generated.
    Could you help me with how to proceed with this, in a way where I can pass the file path as well as retain the values in excel?
    <removed by moderator>. Any help is welcome
    Thanks in advance.
    Regards,
    Trishna
    Edited by: Thomas Zloch on Nov 22, 2011 5:24 PM

    Hi,
    The easiest way to make excel retain the values and not apply any formatting on cells is to add a quote in front of those fields...
    e.g. '02 and '2-6-21. Then you can use the gui_download method...
    Those values will then be considered as text by excel and you won't be bother with auto-formatting issue...
    There are of course other ways of doing it...(via OLE e.g)
    Kr,
    Manu.

  • Pass File Path into Message Box

    Hello,
    I’m building an application that is being used to create a report for whatever date range the user chooses. After the data is exported into Excel I have a message box pop up telling the user where the file has been saved to. However, as it is now, I have
    the file path hard coded. What I want to do is have the file path chosen by the user passed into the message box and display a message with the selected path. Any help with this will be greatly appreciated.
    Dave
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using ClosedXML.Excel;
    using DocumentFormat.OpenXml;
    using System.IO;
    namespace LoanOrig_FDIC_Codes
    public partial class Form1 : Form
    SqlCommand sqlCmd;
    SqlDataAdapter sqlDA;
    DataSet sqlDS;
    DataTable sqlDT;
    SqlCommand sqlCmdCnt;
    public Form1()
    InitializeComponent();
    //BEGIN BUTTON LOAD CLICK EVENT
    private void btnLoad_Click(object sender, EventArgs e)
    string sqlCon = "Data Source=FS-03246; Initial Catalog=ExtractGenerator; User ID=myID; Password=myPW";
    //Set the 2 dateTimePickers to today's date
    DateTime @endDate = End_dateTimePicker.Value.Date;
    DateTime @startDate = Start_dateTimePicker.Value.Date;
    //Validate the values of the 2 dateTimePickers
    if (endDate < startDate)
    MessageBox.Show("End Date must be greater than or equal to the Start Date OR Start Date must be less than or equal to the End Date ", "Incorrect Date Selection",MessageBoxButtons.OK,MessageBoxIcon.Error);
    //Reset both dateTimePickers to todays date
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    return;
    //End of date validation
    string sqlData = @"SELECT AcctNbr,
    CurrAcctStatCD,
    Org,
    MJAcctTypCD,
    MIAcctTypCD,
    NoteOriginalBalance,
    ContractDate,
    FDICCATCD,
    FDICCATDESC,
    PropType,
    PropTypeDesc
    FROM I_Loans
    WHERE CAST(ContractDate AS datetime) BETWEEN @startdate AND @enddate ORDER BY ContractDate";
    SqlConnection connection = new SqlConnection(sqlCon);
    SqlCommand sqlCmd = new SqlCommand(sqlData, connection);
    sqlCmd.Parameters.AddWithValue("@startDate", startDate);
    sqlCmd.Parameters.AddWithValue("@endDate", endDate);
    sqlDS = new DataSet();
    sqlDA = new SqlDataAdapter(sqlCmd); //SqlAdapter acts as a bridge between the DataSet and SQL Server for retrieving the data
    connection.Open();
    sqlDA.SelectCommand = sqlCmd; //SqlAdapter uses the SelectCommand property to get the SQL statement used to retrieve the records from the table
    sqlDA.Fill(sqlDS, "I_Loans"); //SqlAdapter uses the "Fill" method so that the DataSet will match the data in the SQL table
    sqlDT = sqlDS.Tables["I_Loans"];
    //Code section to get record count
    sqlCmdCnt = connection.CreateCommand();
    sqlCmdCnt.CommandText = "SELECT COUNT(AcctNbr) AS myCnt FROM I_Loans WHERE ContractDate BETWEEN @startDate AND @endDate";
    sqlCmdCnt.Parameters.AddWithValue("@startDate", startDate);
    sqlCmdCnt.Parameters.AddWithValue("@endDate", endDate);
    int recCnt = (int)sqlCmdCnt.ExecuteScalar();
    txtRecCnt.Text = recCnt.ToString();
    btnExport.Enabled = true;
    //End of code section for record count
    connection.Close();
    dataGridView1.DataSource = sqlDS.Tables["I_Loans"];
    dataGridView1.ReadOnly = true;
    //Reset both dateTimePickers to todays date
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    //END BUTTON LOAD CLICK EVENT
    //BEGIN BUTTON EXPORT CLICK EVENT
    private void btnExport_Click(object sender, EventArgs e)
    { //ClosedXML code to export datagrid result set to Excel
    string dirInfo = Path.GetPathRoot(@"\\FS-03250\users\dyoung\LoanOrig_FDIC_Codes");
    if (Directory.Exists(dirInfo))
    var wb = new XLWorkbook();
    var ws = wb.Worksheets.Add(sqlDT);
    ws.Tables.First().ShowAutoFilter = false;
    SaveFileDialog saveFD = new SaveFileDialog();
    saveFD.Title = "Save As";
    saveFD.Filter = "Excel File (*.xlsx)| *.xlsx";
    saveFD.FileName = "LoanOrig_FDIC_Codes_" + DateTime.Now.ToString("yyyy-MM-dd");
    if (saveFD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
    Stream stream = saveFD.OpenFile();
    wb.SaveAs(stream);
    stream.Close();
    //End of ClosedXML code
    MessageBox.Show("File has been exported to U:\\LoanOrig_FDIC_Codes", "File Exported", MessageBoxButtons.OK, MessageBoxIcon.Information);
    else
    MessageBox.Show("Drive " + "U:\\Visual Studio Projects\\LoanOrig_FDIC_Codes" + " " + "not found, not accessible, or you may have invalid permissions");
    return;
    //END BUTTON EXPORT CLICK EVENT
    private void Form1_Load(object sender, EventArgs e)
    //Set dates to be today's date when the form is openend
    Start_dateTimePicker.Value = DateTime.Today;
    End_dateTimePicker.Value = DateTime.Today;
    private void Form1_Load_1(object sender, EventArgs e)
    // TODO: This line of code loads data into the 'dataSet1.I_Loans' table. You can move, or remove it, as needed.
    this.i_LoansTableAdapter.Fill(this.dataSet1.I_Loans);
    private void iLoansBindingSource_CurrentChanged(object sender, EventArgs e)
    private void btnExit_Click(object sender, EventArgs e)
    this.Close();
    //END THE SAVE AS PROCESS
    David Young

    Assuming I have located the part of your code you are talking about, I think you just need to replace the hard code path in the message with the path from the SaveFileDialog. You should only display the message if the use clicked OK.
    if (saveFD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
    Stream stream = saveFD.OpenFile();
    wb.SaveAs(stream);
    stream.Close();
    MessageBox.Show("File has been exported to " + saveFD.FileName, "File Exported", MessageBoxButtons.OK, MessageBoxIcon.Information);

  • Error when trying to create a Variable Rent - Property Manager

    Hi All..
    Im trying to create a Variable Rent record for a lease in PN- Release 12 , but an error shows up when I try to generate periods.
    Error says that GL CALENDAR should be longer than termination date.
    What it specifically means? My lease termination date is 31-DEC-2021 , for me it seems everything is set correctly, in R11 this set up works perfectly. Should I create a GL Calendar specifically for property manager that include 2021 periods ?? The GL calendar that I'm using ends in DEC-12, Should I create new one longer than this?
    I'll be appreciate your advice.
    Robert

    Posted more detailed question.

  • Build specification freezes when trying to view "Shared Variable Deployment" screen

    Labview 2009 f3
    For some strange reason, any applications that include shared variable libraries will no longer build into executables.
    I was able to build these applications without issue a week ago.  However, when I went to make an updated build today, the build failed and I had to force Labview to close.  When I view the build specification properties, I can navigate through all the option screens except the "Shared Variable Deployment" screen.  As soon as I click on that option, the interface freezes up and I have to force Labview to close.
    This problem does not occur for applications that do not include shared variable libraries.
    I tried removing the shared variable libraries from the applications that were failing, but that did not correct the issue.

    I never did find a proper fix to this issue. 
    One day I attempted to build the application again, but this time I got distracted doing something else.  When I finally checked the build status a few minutes later I expected it to still be frozen, but to my surprise I found that the application did successfully build.  To this day, that particular application still looks like it is going to lock up, but about about 8 minutes later it finally takes off and builds like nothing was wrong...like every other shared variable application I have created.  So I guess my only suggestion is to let the application sit for a while and see what happens. 

  • Passing file path in function module XXL_FULL_API

    Hi All,
    I am using function module XXL_FULL_API instead of GUI_DOWNLOAD becuse  I need to download data with field names as heading. my question is how to pass complete file path (presentation server  path)in the function module XXL_FULL_API .
    Thanks in advance.
    vijaya.

    Hi Vijaya lakshmi,
    Please check this link
    excel download: XXL_FULL_API
    REPORT ZXXL_FULL_API  .
    TABLES:
    sflight.
    *header data................................
    DATA :
    header1 LIKE gxxlt_p-text VALUE 'Suresh',
    header2 LIKE gxxlt_p-text VALUE 'Excel sheet'.
    *Internal table for holding the SFLIGHT data
    DATA BEGIN OF t_sflight OCCURS 0.
    INCLUDE STRUCTURE sflight.
    DATA END OF t_sflight.
    *Internal table for holding the horizontal key.
    DATA BEGIN OF t_hkey OCCURS 0.
    INCLUDE STRUCTURE gxxlt_h.
    DATA END OF t_hkey .
    *Internal table for holding the vertical key.
    DATA BEGIN OF t_vkey OCCURS 0.
    INCLUDE STRUCTURE gxxlt_v.
    DATA END OF t_vkey .
    *Internal table for holding the online text....
    DATA BEGIN OF t_online OCCURS 0.
    INCLUDE STRUCTURE gxxlt_o.
    DATA END OF t_online.
    *Internal table to hold print text.............
    DATA BEGIN OF t_print OCCURS 0.
    INCLUDE STRUCTURE gxxlt_p.
    DATA END OF t_print.
    *Internal table to hold SEMA data..............
    DATA BEGIN OF t_sema OCCURS 0.
    INCLUDE STRUCTURE gxxlt_s.
    DATA END OF t_sema.
    *Retreiving data from sflight.
    SELECT * FROM sflight
    INTO TABLE t_sflight.
    *Text which will be displayed online is declared here....
    t_online-line_no = '1'.
    t_online-info_name = 'Created by'.
    t_online-info_value = 'RAAM'.
    APPEND t_online.
    *Text which will be printed out..........................
    t_print-hf = 'H'.
    t_print-lcr = 'L'.
    t_print-line_no = '1'.
    t_print-text = 'This is the header'.
    APPEND t_print.
    t_print-hf = 'F'.
    t_print-lcr = 'C'.
    t_print-line_no = '1'.
    t_print-text = 'This is the footer'.
    APPEND t_print.
    *Defining the vertical key columns.......
    t_vkey-col_no = '1'.
    t_vkey-col_name = 'MANDT'.
    APPEND t_vkey.
    t_vkey-col_no = '2'.
    t_vkey-col_name = 'CARRID'.
    APPEND t_vkey.
    t_vkey-col_no = '3'.
    t_vkey-col_name = 'CONNID'.
    APPEND t_vkey.
    t_vkey-col_no = '4'.
    t_vkey-col_name = 'FLDATE'.
    APPEND t_vkey.
    *Header text for the data columns................
    t_hkey-row_no = '1'.
    t_hkey-col_no = 1.
    t_hkey-col_name = 'PRICE'.
    APPEND t_hkey.
    t_hkey-col_no = 2.
    t_hkey-col_name = 'CURRENCY'.
    APPEND t_hkey.
    t_hkey-col_no = 3.
    t_hkey-col_name = 'PLANETYPE'.
    APPEND t_hkey.
    t_hkey-col_no = 4.
    t_hkey-col_name = 'SEATSMAX'.
    APPEND t_hkey.
    t_hkey-col_no = 5.
    t_hkey-col_name = 'SEATSOCC'.
    APPEND t_hkey.
    t_hkey-col_no = 6.
    t_hkey-col_name = 'PAYMENTSUM'.
    APPEND t_hkey.
    *populating the SEMA data..........................
    t_sema-col_no = 1.
    t_sema-col_typ = 'STR'.
    t_sema-col_ops = 'DFT'.
    APPEND t_sema.
    t_sema-col_no = 2.
    APPEND t_sema.
    t_sema-col_no = 3.
    APPEND t_sema.
    t_sema-col_no = 4.
    APPEND t_sema.
    t_sema-col_no = 5.
    APPEND t_sema.
    t_sema-col_no = 6.
    APPEND t_sema.
    t_sema-col_no = 7.
    APPEND t_sema.
    t_sema-col_no = 8.
    APPEND t_sema.
    t_sema-col_no = 9.
    APPEND t_sema.
    t_sema-col_no = 10.
    t_sema-col_typ = 'NUM'.
    t_sema-col_ops = 'ADD'.
    APPEND t_sema.
    CALL FUNCTION 'XXL_FULL_API'
    EXPORTING
    *DATA_ENDING_AT = 54
    *DATA_STARTING_AT = 5
    filename ='TEST'
    header_1 = header1
    header_2 = header2
    no_dialog = ''
    *no_start = ' '
    n_att_cols = 6
    n_hrz_keys = 1
    n_vrt_keys = 4
    sema_type = 'X'
    SO_TITLE = 'TEST'
    TABLES
    data = t_sflight
    hkey = t_hkey
    online_text = t_online
    print_text = t_print
    sema = t_sema
    vkey = t_vkey
    EXCEPTIONS
    cancelled_by_user = 1
    data_too_big = 2
    dim_mismatch_data = 3
    dim_mismatch_sema = 4
    dim_mismatch_vkey = 5
    error_in_hkey = 6
    error_in_sema = 7
    file_open_error = 8
    file_write_error = 9
    inv_data_range = 10
    inv_winsys = 11
    inv_xxl = 12
    OTHERS = 13
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Best regards,
    raam

  • Pass file path through a variable

    I have a script that works when I place path directly instead of variable, but I will need that path to come from java script, so I need to replace it with a variable, but when I do that, it doesn't work any more and it the same path, but running the script tells me that it can't find the file (and file is there ).
    _*Working script:*_
    set ScriptPath to (path to applications folder as text) & "Adobe Illustrator CS4:Presets.localized:enUS:Scripts:_NDF_ILLbasicWebTemplates.jsx" as alias
    tell application "Adobe Illustrator"
    activate
    open file "SPACE:Marketing:webTemplatesCreation:working:template.pdf"
    set Doc_Ref to the current document
    tell Doc_Ref
    do javascript ScriptPath
    end tell
    end tell
    _*Not working:*_
    set myTemplate to "/SPACE/Marketing/webTemplatesCreation/working/template.pdf" as alias
    set ScriptPath to (path to applications folder as text) & "Adobe Illustrator CS4:Presets.localized:enUS:Scripts:_NDF_ILLbasicWebTemplates.jsx" as alias
    tell application "Adobe Illustrator"
    activate
    open myTemplate
    set Doc_Ref to the current document
    tell Doc_Ref
    do javascript ScriptPath
    end tell
    end tell
    I tried different versions: like with '/Volumes' in the beginning and with out 'as alias' for the variable. And none of it helps. The file is on the server and not on my system.
    Thank you very much for your help.
    Yulia.

    You need to use a colon-delimited path. If the JavaScript returns a slash-delimited one, run:
    set myTemplate to POSIX file "/SPACE/Marketing/webTemplatesCreation/working/template.pdf"
    or:
    set the_string to "/SPACE/Marketing/webTemplatesCreation/working/template.pdf"
    set new_string to ""
    repeat with this_char from 2 to (count the_string)
    if item this_char of the_string is "/" then
    set new_string to new_string & ":"
    else
    set new_string to new_string & item this_char of the_string
    end if
    end repeat
    (53281)

  • No Signature of Method Error when trying to set Bind Variable Groovy Expr

    I am trying to set a Bind variable on my view object to equal the output of a function defined in the the EntityImpl.java that corresponds to that bind variable.
    I set the value of my bind variable to be = adf.object.getMyServiceType()
    Where the name of the view object I am currently in is called GridSwSoftwareServiceView.xml and the Entity object is called GridSwSoftwareService.java and the EntityImpl file is called GridSwSoftwareService.java.
    I am seeing this error:
    No signature of method: oracle.jbo.common.VariableImpl$VariableExprValueSupplier.getMyServiceType() is applicable for argument types: () values: []
    Does anyone know what this error means?
    I was trying to follow an example from this doc: http://www.oracle.com/technology/products/jdev/11/how-tos/groovy/introduction_to_groovy.pdf
    Edited by: user10791986 on May 21, 2010 2:50 PM

    Looks like a bug... :(
    It works fine as a View Object attribute expression but it fails miserably once added as an expression to the bind variable. In this case, here is a work-around:
    Define the method as static in your EntityImpl.java :
    public static String getMyServiceType() {
    return "EBSO R12";
    Then access it by fully qualifying it with the package and class :
    com.yourpackage.EntityImpl.getMyServiceType()
    Edited:
    On a second thought, I am wondering if the expression is valid since the Entity hasn't yet constructed at that point.... That explains why it works when made static.
    Nick
    Edited by: Nick Haralabidis on May 21, 2010 5:16 PM

  • Passing file name variable to the save as dialog

    Hi:
    I have an event listener that checks if the user has selected the file/"save as" menu and brings up another dialog window asking for some additional information about the client and job. I would like to pass a variable from this custom dialog to the file name field in the standard Save As dialog.
    Anybody have an idea how I can do this?
    I am using inDesign3 on Windows XP. I am using VB for the scripting.
    thanks!!
    Dan

    Hi: thanks for looking at it.
    Actually, I am not calling the save as in my script, the user is clicking on Save As and the event listener I have in the start up folder is picking that up. The event listener calls up a script that asks users to fill in a couple of fields about the specific job and once they do that and click ok, the default inDesign "save as" dialog is brought up. So that is my question -- how to pass the information from my dialog to the standard "save as" dialog (as the file name of the file).
    The event listener is of the beforeInvoke on the Save As... menu.
    Any idea?
    thanks!!
    Dan

  • Webi Error (WIS 10012) when trying to create a variable help me

    Hi ,
    I am struck with an error in webi When i trying to create a tax variable i have given the formula as [Sales Revenue]* 0.175 and trying to save it i am getting the below error
    " the Number .175 at position 15 has a format that is incompatible with your regional settings,(WIS 10012)"
    when i try in different way [Sales Revenue]* (0,175) i am getting right answer. Please help me where i have to change my regional settings.

    Hi Sreeram,
    What is the Locale set at the universe level inside Tools --> Options --> General tab? Can you share the screenshot?
    The drop down option at left bottom side helps you to set the language for the GUI; however, the button next to it decides the locale of the data.
    You need to set the same locale at Webi level as well. If your value is a decimal value then setting locale to English US might not help as comma (,) is used for digit grouping and dot (.) is used as a decimal seperator; whereas, the value shown by has comma as decimal seperator.
    The locale settings of European countries (like French, Dutch, German, etc.) have the opposite format i.e. dot is used for digit grouping and comma is used for decimal seperation.
    I am pretty sure any of such locales are set at universe level. Check and have same locale in Webi Preferences.
    Hope it will help.
    Regards,
    Yuvraj

  • Why do I get an "Array element prototype" -17001 error when trying to "View Paths"?

    I added some custom types to my sequence file and to MyTypes.ini, and then opened and updated all of the .seq files under "Components/User". I'm a TestStand Newbie, but I think I did this correctly.
    Now, if I try to "View Paths" in the sequence file, I get the following error:
    Array element prototype does not have a location string!
    Error Code: -17001, Program Error.
    Source 'TSAPI'
    Any idea what's going on?
    Jim Polstra

    Jim,
    Thanks for the explanation and instructions for reproducing the problem.
    I was able to reproduce this here as well and this is definitely not the intended behavior. As far as when this specific problem will be fixed, you can be assured that is being addressed in future releases of TestStand. For now though, we will have to consider a workaround, and it goes as follows:
    It appears that this is happening only with specific type definitions such as "Path" (we haven't identified any others but we can't rule out yet that others don't exist), and it doesn't really have to be placed inside of a custom container type such as you illustrated. If you simply create a custom type that is just an array of "Path"s it will behave the same way when you View >> Paths. What's really funny about this though is that "Path" is simply a custom type based on the "String" intrinsic type. If you create your own custom string type called "MyPath" and replace the "FilePath" field in the "DataFile" container type with a new "FilePath" field based on the "MyPath" datatype, the error won't occur. This is also exactly what we recommend as a workaround. So, simply do the following to implement this:
    1) Open MyTypes.ini and create a new custom type of type "String" named "MyPath".
    2) Delete the field named "FilePath" from the "DataFile" custom type.
    3) Create a new field in the "DataFile" custom container type, again called "FilePath", but make it of type "MyPath".
    4) Save MyTypes.ini
    5) Now try doing a View >> Paths on the MyTypes.ini file as before.
    As a final note, we don't really believe that much concern should be placed on this by end-users in relation to a run-time scenario, as the only thing that is really being affected by this is an edit-time tool. We acknowledge the importance of having all of the design time tools work flawlessly, but it should be made clear that this will most likely not affect anything at run-time.
    I hope this helps, and thank you again for reporting this issue to us. Let me know if you need anything else.
    Jason F.
    Applications Engineer
    National Instruments
    www.ni.com/ask

  • How should i set the baseURI when a db file path with a space

    if the db file in a path like c:\program file\myapplication,then i set the baseURI dbxml:c:\program file\myapplication ,some exception occur~what should i do ?
    thanks a lot

    The Base URI needs to be a valid URI, which means it cannot include the Windows '\' character at all. In your case, you should be fine using something along the lines of "file:////C:/program file/myapplication"
    (give or take a '/' or two -- I haven't tested this).
    It's a common for BDB XML users to confuse the argument to create/openContainer() (a filesystem path) with the Base URI (a URI). The meanings and requirements are different. The best thing to do is to set and use a container alias (XmlContainer::addAlias()) to use in your queries.
    Regards,
    George

  • "Not yet Implemented" when trying to delete a variable?

    Hello all,
    Is this a bug or is it still in development. When I am trying to delete not used custom varaibles it says "Not yet Implemented"
    Thanks,
    Kiran

    Hello,
    Use RSZDELETE transaction in BW to delete the custom objects.
    Regards,
    Ravindra

  • Can anyone tell me why I'm getting this error when trying to make visibility variables

    I have set these up in previous versions of Illustrator. CS and illustrator 10 worked just fine with Variables. Now I can't seem to switch between data sets. I just keep getting this error when I try to switch from one data set to another.

    I'll start with the permissions and see if it changes the behavior.

Maybe you are looking for