Showing posts with label profile attribute. Show all posts
Showing posts with label profile attribute. Show all posts

Sunday, 16 December 2012

How to setup Profile attribute in Workflow?









There is a Business service Called  "SIS OM PMT Service" & Its Method named as
"Set Profile Attribute"
Input Arguments are
Profile Attribute Name
Profile Attribute Value

Wednesday, 5 December 2012

How to get a field value when we click on MVG?

I have a requirement that when i click on an MVG, Its associate applet should have some filer value, that depends on the value of base applet. So i need that value from base applet. I solved this problem by creating profile attributes. When i click on the MVG the profile attribute will set by using the following code.

function Applet_PreInvokeMethod (name, inputPropSet)
{

   
    if(name == "EditPopup"){
        var myname=  this.BusComp().GetFieldValue("field Name");
        TheApplication().SetProfileAttr("attr_name",myname);
        //alert(myname);
    }

    return ("ContinueOperation");
}

In the search specification if the Assoc applet, I get this profile attribute

[filed_name] = GetProfileAttr("attr_name")

Now It is solved