InfoPath 2013: How to find the current file name?

Hello,
Is there any way to find the file name in the rule formulas when an existing xml file in a sharepoint form library is being edited in InfoPath? I am looking for a function that returns the current file name that is being edited.
Thank you,

Hi,
According to your post, my understanding is that you want to get the current file name in the InfoPath form.
Here is a similar thread for you to take a look at:
http://social.technet.microsoft.com/Forums/en-US/a24f01d5-744c-4b75-b30d-3295311ab054/how-do-i-find-the-file-name-of-the-currently-open-infopath-form?forum=sharepointcustomizationlegacy
Best Regards
Dennis Guo
TechNet Community Support

Similar Messages

  • How to find the current User Name and stored in which table

    In which table the current user name (Login) is stored?

    Hi Mohanapriya
    The query provided by Gordon can not run on query generator as the $USER is a runtime variable.
    You need to save it to a query then use it in a FMS(Formatted Search.)
    Just open a form(ex:sales order ), click the field in which you want to show the user name,
    then press ****+F2 or Tools->Search Function->Define,
    Search by Saved query,then assign the save query to the field.
    After that ,you can run the FMS(shift+F2) to get the current user info.
    Regards,
    Syn Qin
    SAP Business One Forums Team

  • How to Find the RDF File name

    In our enviorment -End user creating sales order and saving. Once saved order will be printed directly from Selecting from tool Bar -'Print Icon'
    How to identify the name of the report -the system is printing to modify the same.
    Very R12.0.6
    Thanks

    Hello,
    Once request is submitted, go to View-->Requests-->Find.
    Compare with your already submitted report with the reports present here.
    Copy the report name and to system Adminstrator-->Concurrent -->Program-->Define.
    From here you can find the short name which is nothing but the RDF name.
    HTH
    -Arif.

  • How to Find the Current Instance Id in Oracle 10g

    Hi,
    how to find the current instance id in oracle 10g studio,
    I have the below code :
    if (InstanceScreenFlow.processInstance.id.id.indexOf(text : ins.id) < 0) {
    /// do something
    it is saying that "'processInstance' is not a function"
    Thanks,
    Brijesh Kumar Singh.

    Why not just pass in the "id" predefined variable into your screenflow? Once you do that you'll be able to refer to it as "id.id" anywhere inside your screenflow.
    Dan

  • How to find the current SQL

    Dear All,
    My testing engineers are checking the application from front end, i have to find the current SQL (What SQL queries are used in the application) statements in the back end.
    Please let me know how to find the current executing SQL stements.
    Thanks in advance
    Mahi

    You need to join this query with one more table - v$sqlstats. There are many statistics in particular cpu_time, elapsed_time etc stored in that table for each sql statement.
    You can join v$sqlstats by sql_id until you have multiple child cursors for single statement.
    Or you can just join to v$sql and get statistics from there and in this latter case you include child_number column to distinguish child cursors from each other.
    Best Regards,
    Alex

  • How to find the current state in web dynpro

    Hi,
       Can any one tell me how to find the current state of system (idle /not idle).
    Thanks,
    Krishna..

    Please explain further.  I don't understand how you are expecting to test for idle.  If ABAP code is being executed, then you know that the application is not idle. Only a server event could trigger code execution. Only a timedTrigger would be able to tell you that a certain amount of time has passed without activitity - although the event of the timer itself will be a server event that constitutes activity.

  • How to find the current line in the table control in module pool ?

    How to find the current line in the table control in module pool ?
    This is an urgent requirement? please do help me.

    refer to this example
    REPORT demo_dynpro_tabcont_loop_at.
    CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
    DATA: cols LIKE LINE OF flights-cols,
    lines TYPE i.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF demo_conn.
          TABLES demo_conn.
    SELECT * FROM spfli INTO CORRESPONDING FIELDS OF TABLE itab.
    LOOP AT flights-cols INTO cols WHERE index GT 2.
      cols-screen-input = '0'.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
    ENDLOOP.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    DESCRIBE TABLE itab LINES lines.
    flights-lines = lines.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE read_table_control INPUT.
      MODIFY itab FROM demo_conn INDEX<b> flights-current_line.</b>
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'TOGGLE'.
          LOOP AT flights-cols INTO cols WHERE index GT 2.
            IF  cols-screen-input = '0'.
              cols-screen-input = '1'.
            ELSEIF  cols-screen-input = '1'.
              cols-screen-input = '0'.
          ENDIF.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
    ENDLOOP.
        WHEN 'SORT_UP'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) ASCENDING.
            cols-selected = ' '.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'SORT_DOWN'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) DESCENDING.
            cols-selected = ' '.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'DELETE'.
          READ TABLE flights-cols INTO cols
                                  WITH KEY screen-input = '1'.
          IF sy-subrc = 0.
            LOOP AT itab INTO demo_conn WHERE mark = 'X'.
              DELETE itab.
    ENDLOOP.
          ENDIF.
    ENDCASE.
    ENDMODULE.

  • How to find the downloaded file. its not in the "downloads".

    how to find the downloaded file?

    Open Finder, and type "Today" in the search area in the upper right of Finder's window.
    Then click "Today" under "Dates" in the resulting drop-down menu.

  • How to find PG.xml file name and path associated with a FUNCTION

    Hi,
    I am having a function:IRC_VIS_HOME_PAGE with Web HTML value as below:
    OA.jsp?akRegionCode=IRC_VIS_HOME_PAGE&akRegionApplicationId=800&OAPB=IRC_BRAND
    How to find PG.xml file name and path assoicated with above funtion.
    Thanks,
    ashok

    Ashok,
    Function IRC_VIS_HOME_PAGE will have 2 parameter defined for it which are OASF and OAHP where
    OASF=<SelectedFunctionName> - this tells the Framework to select this function in the given "Home Page" menu context.
    OAHP=<HomePageMenuName> - this is used ONLY with the OASF parameter, and it is used to establish the current menu context. It should point to a "Home Page" menu.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to get the current schema name

    Hi,
    Can anybody please tell me how to get the current schema name, there is some inbuilt function for this,but i am not getting that. Please help me.
    Thanks
    Jogesh

    ok folks, I found the answer at Tom's as usual.
    http://asktom.oracle.com/tkyte/who_called_me/index.html
    I rewrote it into a function for kicks. just pass the results of DBMS_UTILITY.FORMAT_CALL_STACK to this function and you will get back the owner of the code making the call as well some extra goodies like the name of the code and the type of code depending on the parameter. This ignores the AUTHID CURRENT_USER issues which muddles the schemaid. Quick question, does the average user always have access to DBMS_UTILITY.FORMAT_CALL_STACK or does this get locked down on some systems?
    cheers,
    paul
    create or replace
    FUNCTION SELF_EXAM (
       p_call_stack VARCHAR2,
       p_type VARCHAR2 DEFAULT 'SCHEMA'
    ) RETURN VARCHAR2
    AS
       str_stack   VARCHAR2(4000);
       int_n       PLS_INTEGER;
       str_line    VARCHAR2(255);
       found_stack BOOLEAN DEFAULT FALSE;
       int_cnt     PLS_INTEGER := 0;
       str_caller  VARCHAR2(30);
       str_name    VARCHAR2(30);
       str_owner   VARCHAR2(30);
       str_type    VARCHAR2(30);
    BEGIN
       str_stack := p_call_stack;
       -- Loop through each line of the call stack
       LOOP
         int_n := INSTR( str_stack, chr(10) );
         EXIT WHEN int_cnt = 3 OR int_n IS NULL OR int_n = 0;
         -- get the line
         str_line := SUBSTR( str_stack, 1, int_n - 1 );
         -- remove the line from the stack str
         str_stack := substr( str_stack, int_n + 1 );
         IF NOT found_stack
         THEN
            IF str_line like '%handle%number%name%'
            THEN
               found_stack := TRUE;
            END IF;
         ELSE
            int_cnt := int_cnt + 1;
             -- cnt = 1 is ME
             -- cnt = 2 is MY Caller
             -- cnt = 3 is Their Caller
             IF int_cnt = 1
             THEN
                str_line := SUBSTR( str_line, 22 );
                dbms_output.put_line('->' || str_line);
                IF str_line LIKE 'pr%'
                THEN
                   int_n := LENGTH('procedure ');
                ELSIF str_line LIKE 'fun%'
                THEN
                   int_n := LENGTH('function ');
                ELSIF str_line LIKE 'package body%'
                THEN
                   int_n := LENGTH('package body ');
                ELSIF str_line LIKE 'pack%'
                THEN
                   int_n := LENGTH('package ');
                ELSIF str_line LIKE 'anonymous%'
                THEN
                   int_n := LENGTH('anonymous block ');
                ELSE
                   int_n := null;
                END IF;
                IF int_n IS NOT NULL
                THEN
                   str_type := LTRIM(RTRIM(UPPER(SUBSTR( str_line, 1, int_n - 1 ))));
                 ELSE
                   str_type := 'TRIGGER';
                 END IF;
                 str_line  := SUBSTR( str_line, NVL(int_n,1) );
                 int_n     := INSTR( str_line, '.' );
                 str_owner := LTRIM(RTRIM(SUBSTR( str_line, 1, int_n - 1 )));
                 str_name  := LTRIM(RTRIM(SUBSTR( str_line, int_n + 1 )));
              END IF;
           END IF;
       END LOOP;
       IF UPPER(p_type) = 'NAME'
       THEN
          RETURN str_name;
       ELSIF UPPER(p_type) = 'SCHEMA.NAME'
       OR    UPPER(p_type) = 'OWNER.NAME'
       THEN
          RETURN str_owner || '.' || str_name;
       ELSIF UPPER(p_type) = 'TYPE'
       THEN
          RETURN str_type;
       ELSE
          RETURN str_owner;
       END IF;
    END SELF_EXAM;

  • How to get the current function name in java

    How to get the current function name in java.
    In c it is done as
    printf("%s",__func__);
    Thanx in advance.

    j0o wrote:
    System.out.println("Class Name: " + new Exception().getStackTrace()[0].getClassName() +
    "/n Method Name : " + new Exception().getStackTrace()[0].getMethodName() +
    "/n Line number : " + new Exception().getStackTrace()[0].getLineNumber());
    I pointed the OP at this approach yesterday in one of his multi-posts. I still have not been given my Dukes!

  • How to find the Standard DFF Name  In oracle apps

    hi,
    How to find the Standard DFF Name In oracle apps
    thanks

    1. Open the form
    2. Choose Tools--> Diagnostics
    3. In the block field choose $DESCRIPTIVE_FLEXFIELD$
    4. Field will show the list of all the DFF's enabled for that form.
    5. Choosing one will display the name of the DFF in the value field.
    Thanks
    Nagamohan

  • Action which saves incremental versions of the current file name.

    I have several folders of PNG files I want to hue to differnt colours and then save a version in each colour.
    I sucessfuly recorded an action that makes the hue adjustments and saves files, the problem I'm having is the action uses the name and location of the file I used when recording the action.
    When it saves each file I'd like it to keep the current file name and add a suffix if needs be. File-1.png, File-2.png etc.
    I'm using CS5.
    Any advice would be brilliant.
    Thanks.

    Use the image processor script and remove the save steps from your action.
    Mylenium

  • How to find out current PAGE NAME (not Page No) in SAPSCRiPT

    Hi,
    Is there anyway i can find the current page name in sapscripts which i can check in IF condition and accordingly perform some task. I searched and found out ITCTG-TDPAGE structure but its giving me error when i try to print in text element editor.
    Regards
    Amber

    Hi Amber,
    the otf[]-Table is located in a function group...
    Sry, forgot to add this.. that's the thing without a system available
    To solve your problem, I would work with the otf-data. I just can give you suggestion because the solution might be a bit bigger.
    Set yourself a unique string into the line you want to draw a box (perhaps @BOX1). Afterwards you can replace this variable with things you want to do. There is a lot possible with having the otf-data itself.
    Important is, that you do this before calling CLOSE_FORM
    Regards
    Florian
    BTW: OP are the first two unique chars in the line
    Here is a example-coding
    FIELD-SYMBOLS: <gt_otf> TYPE ssftotf,
       <ls_otf> TYPE itcoo.
    ASSIGN ('(SAPLSTXC)OTF[]') TO <gt_otf>.
       IF sy-subrc = 0 AND <gt_otf> IS ASSIGNED.
    LOOP AT <gt_otf> ASSIGNING <ls_otf>
         WHERE tdprintcom = 'ST'
         AND tdprintpar+7 = '@UL1'.
    ENDLOOP.
       ENDIF.

  • How to find the current iTunes Library

    Hello,
    somehow, opening iTunes the last time I came to a previous iTunes Library and do not find the current one, where much more songs and downloads are in.
    Searching in Windows also did not help. How could I get back to the current one, as everytime opening iTunes the previous shows up.
    Does anybody know?
    Thx

    The only way is to search in Windows and look at the Size & Date Modified fields.
    Are you searching ALL your hard drives, even external ones?
    Are your Windows Explorer folder options set to hide system folders? Hide file extensions? You will need to uncheck both those options for the search to be useful.

Maybe you are looking for

  • Lion 10.7.3 Update - Shame on you Apple !

    Just updated my 2011 MBP Lion from 10.7.2 to 10.7.3 and now I'm looking at it doing a long 5 hour Time Capsule Restore. Why ? Well after the "update" which is not a update it's a "downdate" my MBP has gone wild: > very very poor performance: 40+ sec.

  • Error deploying a Java Webservice

    In the SAP NetWeaver Developer Studio, when I select the option "Deploy to J2EE engine" on my EAR file, I get the following error: java.rmi.RemoteException: Cannot deploy application sap.com/LDAPManagerEAR.. Reason: Incorrect application sap.com/LDAP

  • ORA-12154 Error - NET8 Connection Tester Works Though

    I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home. When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, w

  • My Nano iPod does'nt return to the Home Page

    My Nano iPod does'nt return to the Home Page

  • Source2wsdd problem

    Hello, I am trying to generate my WSDL from the source2wsdd ant task. All goes well except the location attribute in the WSDL. I continously get this value - <soap:address location="http://pls.set.the.end.point.address/"> </soap:address> <source2wsdd