Active Form Component Rules

Active Form Component Rules
Hello,
Though we upgraded to 2008.3 last November, we haven't used AFC rules so far so i was just curious how AFC rules are coded/implemented ? Do they perform checks using client-side scripting of server-side ?
Thanks
Mihir

think of AFC rules as newScale writing javascript code for you. As a matter of fact its pushe dto the client as a .js file
You have both client and server side scripts (Data retrieval)

Similar Messages

  • Infopath form load rule not working in browser forms but works on Client

    Hi
    I am working on an Infopath form and there are rules on form load. The form load checks for a value in a list, if the username() matches the one in the list, then the form would change its view.
    It works when I open it on client, but on the browser it fails.
    Have anyone encountered such an issue.

    Check below:
    http://stackoverflow.com/questions/16222681/infopath-rule-is-not-running-when-checking-sharepoint-list-field-value
    Ensure that "Include data for the active form only" was checked (I had to separate this field into another data connection because that box could not be checked for another field I was using), and
    Ensure that in the rule I was selecting from the "dataFields" folder under the data connection instead of "queryFields"
    http://sharepoint.stackexchange.com/questions/28554/infopath-form-load-rules-not-working
    if I edit the Infopath form on Infopath 2007, it seems that the rules for the load form will be visible if created.
    This look like a bug. Here are the steps below that will lead you to the bug:
    Step 1: Open the infopath form in Infopath 2010 and create 6 rules for Form Load and Save it as a file.
    Step 2: Open that infopath form that you created in Step 1 in InfoPath 2010 and go to the
    Form Load section. You will only see the first 5 rules. The 6th rules that you created for Step 1 will just "vanish". Now, close that infopath form.
    Step 3: Open that infopath form that you created in step 1 in InfoPath 2007 and select Tools > Form Option. In the
    Open and Save category, click the Rules button and add a new rule in it and save it.
    Step 4: Open that infopath form that you modify as describe in Step 3 in InfoPath 2010. That 6th rule will be visible.
    Therefore, there might be a bug in InfoPath 2010 that restrict Rules to a max of 5 in Form Load and thus if anyone open that form in SharePoint, only the first 5 rules will be executed.
    If this helped you resolve your issue, please mark it Answered

  • Error in activation of update rules.

    Hi,
    I get an error - 'IC=0PP_C02 IS=2LIS_04_P_MATNR error when checking the update rules' while activating the update rules in BI content. Rest all the data flow is activated except update rules.
    Can anyone throw some light on this?
    Thanks & Regards,
    Manisha

    Hi ,
    Check the update rule.
    In that there are two routines.
    In the first one Goods being processed & 2nd one as well , there is syntax err.
    /BI0/APP_O010 doest exist.
    Mostly it is fetching some data from some dso in this routine.
    So it should be activated.
    Then update rules will be activated.
    Regards,
    Devina

  • Conversion exit error while activating the transfer rules

    Hello gurus,
    We are doing a function module extraction with 3.X data sources.
    On activating the transfer rules , i am getting a conversion exit error for "0fiscyear", but in the infoobject we don't have the conversion exit for it.
    Points will be awarded for any kind of response.
    Thanks and Regards,
    Anu.

    Hi,
    1. Please check in the transformation, its necessary to provide the fiscal variant mapping as well when ur mapping fiscal year object. as on the basis of that value fiscal period will be derived.
    2 I guess ur doing direct mapping (Time conversion) and there is no routine written for that.  if any u can check that as well for any error.
    Thanks
    dipika
    Edited by: Dipika Tyagi on Jun 25, 2008 7:39 AM

  • Report Cost of Operation Activity and Component

    Hi Gurus,
    Is there report to list cost of Operation Activity and Component in the same report (not in separate) ?
    In our environment "operation activity" show Labor Cost and "Component" show material cost. If one by one of document we can see it in each document. The requirement is to see in a list of documents that contain labor dan material cost in the same report.
    When use IW49N, only show cost of "operation activity" not include cost of material used.
    Regards,
    Tri W

    duplicate.closed.

  • Error when creating a Report with Form component

    I am trying to create a new report with form component but when I try to choose the Table/View name I get a web error "404 web not found". I know for a fact that the list is working because I see the list when I create a "simple form". Is this a bug or i need to do something to get it working? thanks

    419008,
    It is a bug that has been identified and will be corrected in an HTML DB patch. There is nothing you can do to correct it.
    This bug is specific to Internet Explorer and utf-8 encoding. It is not a bug with IE, it is a bug with how we handle this for IE.
    Joel

  • Using JavaScript to Print and Overwrite Active Form Files

    Hello all,
    I have zero knowledge of JavaScript and I am hoping someone can help me
    quickly solve an issue I am having with active forms. I tried using the flatten
    feature in the action wizard but it is not working. I also tried using
    "this.flattenPages()" but I can still edit the fields in my PDF file.
    What I am looking for is a JavaScript command that allows me to overwrite the existing
    PDF file using the PDF printer and overwrite the active form so it is
    finalized. Maybe there is an easier more efficient way to accomplish this? Any
    input or help would be much appreciated. I am using Adobe Acrobat XI
    Pro. Thanks.
    P.S. I realize I can manually selected the Adobe PDF printer and finalize my
    active form that way but I am looking for a one click solution.

    Have you seen these?
    A tutorial on how to flatten form fields:
    http://acrobatusers.com/tutorials/how-to-flatten-form-fields
    And a free "Flatten Page Content" tool:
    http://www.pdfscripting.com/public/Free_Acrobat_Automation_Tools.cfm

  • Adding Button to Active Form

    Hi,
    I created button in PO  on Form load event. its working fine.but
    how to add a button on the active(PO)  form once My add-on is started?
    Regards,
    Ganesh k

    Hi,
    i checked for the existance of my button in my active form, if not exist i added my button in et_FORM_ACTIVATE  Event. its working now.
    If pVal.EventType = et_FORM_ACTIVATE And pVal.FormTypeEx = "142" And FLAG = False Then
                oOrderForm = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                Dim ii As Integer
                For ii = 0 To oOrderForm.Items.Count - 1
                    If oOrderForm.Items.Item(ii).UniqueID = "MyBtnId" Then
                        FLAG = True
                    End If
                Next ii
                If FLAG = False Then
                    ADDBUTTON()
                End If
            End If
    Thanks For the Suggestions..
    regards,
    Ganesh K

  • Passing Parameters to Form Component

    Can I pass parameters to a form component through the URL...like PORTAL30.wwa_app_module.new_instance?p_moduleid=1098075940 is the link to get the form ..I want to pass a parameter along with this.This is to pass the parameter to a stored procedure on which the form is based.
    null

    Yes you can pass parameters.. here's a quick tutorial..
    There are 2 ways to link to a 3.0 form from another component:
    1. "Query links", in this mode user can specify any conditions for the form and when the form
    gets these values it will execute the query using passed conditions and if a record found we will bring the form in the update mode so that record can be updated, if multiple records found all set of the records will be returned, and user can use "Next" and "Previous" buttons to navigate in the set.
    If none of the records in the table satisfy the criteria, the form will be shown in insert mode with all fields empty.
    Parameter | Condition | Static Value | or | Column Name
    EMPNO | | >= | | 7900 | | | | | |
    ENAME | | | | | | | | | |
    JOB | | | | | | | | | |
    MGR | | | | | | | | | |
    HIREDATE | | | | | | | | | |
    SAL | | | | | | | | | |
    COMM | | | | | | | | | |
    DEPTNO | | | | | | | | | |
    showheader | | | | | | | | | |
    _rowid | | | | | | | | | |
    Resulting Link Example:
    portal30.wwa_app_module.link?
    p_arg_names=_moduleid&p_arg_values=1060253649
    &p_arg_names=_sessionid&p_arg_values=
    &p_arg_names=EMPNO&p_arg_values=7900
    &p_arg_names=_empno_cond&p_arg_values=%3E%3D
    2. "Link-to-fill-the-defaults"
    This type of link is similar to WebDB 2.x forms link.
    Take the link above and remove all the conditions and you will get the "defaults" link, we just take whatever you put in the value field and put it in the form field as a default value, no query performed. This type of link should be used in case if the users want to create a new record based on some of existing table data. For example to create another employee record in a department with the same job title and reporting to the same manager.
    Parameter | Condition | Static Value | or | Column Name
    EMPNO | | | | | | | | | |
    ENAME | | | | | | | | | |
    JOB | | | | | | | | JOB | |
    MGR | | | | | | | | MGR | |
    HIREDATE | | | | | | | | | |
    SAL | | | | | | | | | |
    COMM | | | | | | | | | |
    DEPTNO | | | | | | | | DEPTNO | |
    showheader | | | | | | | | | |
    _rowid | | | | | | | | | |
    Resulting Link Example:
    portal30.wwa_app_module.link?
    p_arg_names=_moduleid&p_arg_values=1060253649
    &p_arg_names=_sessionid&p_arg_values=
    &p_arg_names=JOB&p_arg_values=CLERK
    &p_arg_names=MGR&p_arg_values=7902
    &p_arg_names=DEPTNO&p_arg_values=20
    null

  • Run-time error '429':Active X component can not create an object

    Hi Folks,
    I am using some VBA code to run logic in BPC for Excel. When i try to click on VBA button, It's giving the below error.However when i am trying to execute same from server it is working fine. Accessing from BPC client only we are facing this problem.
    Code have no issues. Is there any specific thing need to mentioned in client when we use VBA programming? Basically we used the VBA program to create the id's in BPC for Excel. So that it will automatically created on fly. Testing was fine interms of working in Server.
    " Run-time error '429':Active X component can not create an object ."

    Hi,
    Are you trying to add a member into the dimension from excel? As you said that this has been already tested in the server and is working fine, I believe, you have taken care of everything.
    Now, coming to the point, when you are adding a member in the membersheet, you need to process the dimension. This requires the admin rights. So, please check the task profile of the user ID, with which you are trying from your system. This user ID should be the primary admin.
    Hope this helps.
    Additionally, can you please elaborate on the steps on what you followed for adding a member from the excel directly?

  • Active desktop component

    My java applet does not display on WinXP desktop on setting it as active desktop component. I have set the .html file containing the applet as active component.
    Otherwise the browser shows the applet fine.
    please somebody help me.

    Well : Double-post can sometimes bring more results, but people generally don't like this point of view... Althought, I suppose you perhaps just failed to retrieve your own post ;)
    Because I am still looking for a soluce to this damned problem too, there will be nothing more there, but in case of, here is your other post about this problem :
    http://forum.java.sun.com/thread.jspa?messageID=3840323
    I must add that I have myself written in a thread about this problem; the thread is initially about the conversion Image > BufferedImage and contains the code of the applet I am trying to make work as an active desktop...
    http://forum.java.sun.com/thread.jspa?threadID=628534&tstart=240
    Thanks to all those who begin to feel lost in all these threads : I hope we'll be more efficient the next time we'll have to ask for some help !

  • How to Inactive an active form

    Hi,
    *1. I have three form in screen..only last screen is active(normally)
    2. Assume i have three forms A1,A2,A3
    3.Now A3 is top and active form Form order is like A1->A2->A3
    4. Always i want put A3 in back like A3->A2 ->A1 or i want make A3 in active mode....
    5.All this forms are opened by codes.
    6.plz give me a reply regdg this*
    By Firos

    Hi firoz,
    You mean you want form 2 and 3 to be inactive, and user can only access form 1 ?
    You have to code this behaviour.
    You catch the form activate event. If the form uid is not form 1, then you set form 1 as an active form.
    using :
    If formuid <> "FORM1UID" then
    sbo_application.Forms.Item("FORM1UID").Select
    end if
    Edited by: Edy Simon on Jul 17, 2009 9:00 AM

  • Form component

    Is there any default Form component to display and navigate records?
    What I like to have is a component just like table on which we can attach/drag a data provider but than for single record display, which first, previous, next and last record navigation buttons.
    I believe this is out-of-the-box available is it?
    I know I can create a form and manually add buttons, but then I have to di this for all single record forms.
    Regards,
    Marcel
    BTW: Congrats on delivering SJSC2. My first impressions are good.

    Hi Marcel,
    Thanks for appreciating JSC 2! We really look forward for your participation here to make this product better!
    And about your Question--
    I guess, you know about the Table component, which makes it ez for the type of databinding and pagination. You could just drop a database table and enable pagination for navigating through the rows. But this one doesn't display a single record in a Form with datacolumns/fields displayed in a vertical fashion.
    But it is still very easy with Creator to build such a form with navigation.
    Please check out the bundled sample application 'Single Page CRUD with Form' which demo's such a functionality. You can get a copy of it by choosing File> New Project> Samples> Single Page CRUD with Form.
    HTH,
    Sakthi

  • Displaying Images In Form Component

    Hi
    How do I display an employee image in a form Componet, if it is located in file server??
    and how do display an employee image in form component
    if it is saved in the Databse ??
    Many Thanks
    null

    Walid,
    If you want to display an image in a form it should be "physically" uploaded to the table on which your form is based. The only supported datatypes now are BLOB and ORDIMAGE (interMedia image).
    Thanks,
    Dmitry

  • SDK 4.5 Form Component and States

    I have created a s:Form component that will be used throughout my application. But FormItems are displayed depending on specific states of the main application file.  I left the s:states element and its s:State children in the main application and just moved the portion of the form that I wanted to become a component.  But I am getting State " " was referenced without being declared in my component mxml file.  When I move my s:states elements from my main application file over to my component mxml file, the form does not react correctly.
    So how do I get my form to correctly react to changing states in the main application???
    Tony
    States elements that are residing in my main application file:
    <s:states>
              <s:State name="home"  />
              <s:State name="searchMedia"  />
              <s:State name="smResults"  />
              <s:State name="lgResults"  />
              <s:State name="addMedia"  />
         </s:states>
    The above states are tied to "navigation" buttons that also live in the main application file.
    Here is the form component that I tried to create, but did not work ("Almost" only works in horseshoes and handgrenades):
    <?xml version="1.0" encoding="utf-8"?>
    <s:Form xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
              xmlns:mx="library://ns.adobe.com/flex/mx">
         <s:layout>
              <s:TileLayout clipAndEnableScrolling="true" orientation="rows"
                        paddingBottom="5" paddingTop="5"
                        paddingRight="5" paddingLeft="5"
                        columnAlign="justifyUsingWidth" verticalGap="6"  />
         </s:layout>
         <fx:Declarations>
              <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
         <s:FormHeading label.addMedia="Add Media to Library" label.searchMedia="Search Library"  />
         <s:FormItem label="File Name:">
              <s:layout>
                   <s:HorizontalLayout  />
              </s:layout>
              <s:TextInput  />
              <s:Button includeIn="addMedia" label="Browse"  />
         </s:FormItem>
         <s:FormItem label="Course Contained In:">
              <s:TextInput  />
         </s:FormItem>
         <s:FormItem label="Keyword:">
              <s:TextInput  />
         </s:FormItem>
         <s:FormItem label="Type of Media (.jpg, .psd, etc):">
              <s:TextInput  />
         </s:FormItem>
         <s:FormItem label="Media size" includeIn="addMedia">
              <s:layout>
                   <s:HorizontalLayout  />
              </s:layout>
              <s:TextInput id="horizWidth"  />
              <s:Label text="(width) X "  />
              <s:TextInput id="vertWidth"  />
              <s:Label text="(height)"  />
         </s:FormItem>
         <s:FormItem label.searchMedia="Date (Range) Added:" label.addMedia="Date Added: ">
              <s:layout>
                   <s:HorizontalLayout  />
              </s:layout>
              <mx:DateField id="fromDate" includeIn="searchMedia"  />
              <mx:DateField id="toDate" includeIn="searchMedia"  />
              <mx:DateField id="dateAdded" includeIn="addMedia"  />
         </s:FormItem>
         <s:FormItem id="submitSearch" horizontalCenter="0">
              <s:Button bottom="5" label.searchMedia="Search"
                        label.addMedia="Submit" click="currentState='smResults'"
                        bottom.searchMedia="5" horizontalCenter.searchMedia="0"
                        bottom.addMedia="5" horizontalCenter.addMedia="0"  />
         </s:FormItem>
    </s:Form>
    Did I do something fundamentally wrong???

    Thanks, Andrei!
    Same exact problem here and your suggestion works.
    However, it breaks things visually in terms of UI.
    Will most likely have to address the data provider to limit the data.
    Have you filed a JIRA bug with Adobe?
    https://bugs.adobe.com/jira/browse/
    Vitali

Maybe you are looking for

  • Sending the process instance to a particular participants workspace

    Hi All, I am a bit new to Aqualogic BPM. I have to design a process, the requirements of which are as follows: The process has three roles: - Super Users - Supervisor - Primary Users Super User and Supervisor will have one participant each but the ro

  • Import/Export Jobs Fail - ORA-01017 Invalid UserName/PW - Solved!

    Every time I try to run either an Import or Export Job from OEM it always fails with ORA-01017 Invalid UserName/PW. I have read numerous posts in this forum on related topics. Suggestion have been; 1. Make sure OS login is a member of the ORA_DBA gro

  • Problem With Silverlight

    Hello, I recently was notified via the Firefox Plugin checker that my version of Silverlight was outdated. Going to the site linked, I made an attempt to download the latest version. However, upon making this attempt, I was informed that my browser d

  • Homesite and Windows 7, anyone?

    Howdy All, As most of us know, Windows 7 is due for release shortly, and I don't like to be behind the times on the OS front. So has anyone here got Homesite running on Windows 7 RC? I do have Windows 7 RC, but I don't fancy installing it just to tes

  • WAS on Linux seens to be slow

    After having installed WAS for linux, things seemed to work OK. It seemed however that database-generated pages were very slow. To find out what was wrong we mixed platforms: Database on sun, WAS on sun Database on linux, WAS on sun Database on sun,