Differences

This shows you the differences between two versions of the page.

adminhelp:action_tags [2019/07/01 09:20]
bdjordje
adminhelp:action_tags [2019/07/01 09:36] (current)
bdjordje
Line 7: Line 7:
 |**<*AllowValues(standard attribute name:standard attribute value)*> **|Parameters: attributes with their values, separated by colon. More than one Attribute/Value pair can be entered. Every pair is separated from other pairs by a comma. |Allows all values from the entered list | |**<*AllowValues(standard attribute name:standard attribute value)*> **|Parameters: attributes with their values, separated by colon. More than one Attribute/Value pair can be entered. Every pair is separated from other pairs by a comma. |Allows all values from the entered list |
 |**<*assignff(attribute name:value)*> **|Parameters: the name of the FreeFormAttribute, and the value to be assigned to the attribute, separated by colon. More than one FreeFormAttribute/FreeInputValue pairs can be entered. Every pair is separated from other pairs by a comma. |Every FreeInputValue is assigned to appropriate FreeFormAttribute. If FreeInputValue contains function, the function is executed before assignment. For example: <*assignff(attribute_name:<*catcode(other_attribute)*>)*> gives as the result the CatCode string from the "other_attribute", assigned to FreeForm field in the "attribute_name" attribute. <*assignff(attrib_name:Webcom)*> assigns the string "Webcom" to the "attrib_name" attribute. Non-FreeForm attributes cannot accept the assigned values. | |**<*assignff(attribute name:value)*> **|Parameters: the name of the FreeFormAttribute, and the value to be assigned to the attribute, separated by colon. More than one FreeFormAttribute/FreeInputValue pairs can be entered. Every pair is separated from other pairs by a comma. |Every FreeInputValue is assigned to appropriate FreeFormAttribute. If FreeInputValue contains function, the function is executed before assignment. For example: <*assignff(attribute_name:<*catcode(other_attribute)*>)*> gives as the result the CatCode string from the "other_attribute", assigned to FreeForm field in the "attribute_name" attribute. <*assignff(attrib_name:Webcom)*> assigns the string "Webcom" to the "attrib_name" attribute. Non-FreeForm attributes cannot accept the assigned values. |
-|**<*AssignValue(attribute name:value)*> **|Parameters: the name of the FreeFormAttribute, and the value to be assigned to the attribute, separated by a colon. More than one FreeFormAttribute/FreeInputValue pairs can be entered. Every pair is separated from other pairs by a comma. |Every FreeInputValue is assigned to appropriate FreeFormAttribute. If FreeInputValue contains a function, the function is executed before the assignment. For example: <*AssignValue(attribute_name:<*catcode(other_attribute)*>)*> gives as the result the CatCode string from the "other_attribute", assigned to FreeForm field in the "attribute_name" attribute. <*AssignValue(attrib_name:Webcom)*> assigns the string "Webcom" to the "attrib_name" attribute. Non-FreeForm attributes cannot accept the assigned values. \\ In case date is to be assigned to an attribute of type **Date** via this tag, you should use <*ASSIGNVALUE(TestDate:<*CTX( Date.AddMonths(1).InUSDateFormat )*>)*> since the date has to be in US format when the attribute of the Date type is used. If the user's date format is set to anything other than the US format, it will be displayed incorrectly. |+|**<*AssignValue(attribute name:value)*> **|Parameters: the name of the FreeFormAttribute, and the value to be assigned to the attribute, separated by a colon. More than one FreeFormAttribute/FreeInputValue pairs can be entered. Every pair is separated from other pairs by a comma. |Every FreeInputValue is assigned to appropriate FreeFormAttribute. If FreeInputValue contains a function, the function is executed before the assignment. For example: <*AssignValue(attribute_name:<*catcode(other_attribute)*>)*> gives as the result the CatCode string from the "other_attribute", assigned to FreeForm field in the "attribute_name" attribute. <*AssignValue(attrib_name:Webcom)*> assigns the string "Webcom" to the "attrib_name" attribute. Non-FreeForm attributes cannot accept the assigned values. 
 + 
 +<note> If you wish to assign date to an attribute of type **Date** via this tag, you should use <*ASSIGNVALUE(TestDate:<*CTX( Date.AddMonths(1).InUSDateFormat )*>)*> since the date needs to be converted from the user format to the US format when the AssignValue tag is used. If the user's date format is set to anything other than the US format, and the <CTX( Date.AddMonths(1) )> is used, the date value will be assigned incorrectly. </note> 
 + 
 +^**Tag **^**Description **^**Result **^
 |**<*assignpc(attribute name:value)*> **|Parameters: attributes with their prices to be assigned, separated by colon. More than one Attribute/Price pair can be entered. Every pair is separated from other pairs by a comma. |The same as previous, except that it assigns "standard attribute value" to the Price field of the "standard attribute name".| |**<*assignpc(attribute name:value)*> **|Parameters: attributes with their prices to be assigned, separated by colon. More than one Attribute/Price pair can be entered. Every pair is separated from other pairs by a comma. |The same as previous, except that it assigns "standard attribute value" to the Price field of the "standard attribute name".|
 |**<*AssignPrice(attribute name:value)*> **|Parameters: attributes with their prices to be assigned, separated by colon. More than one Attribute/Price pair can be entered. Every pair is separated from other pairs by a comma. |The same as previous, except that it assigns "standard attribute value" to the Price field of the "standard attribute name". | |**<*AssignPrice(attribute name:value)*> **|Parameters: attributes with their prices to be assigned, separated by colon. More than one Attribute/Price pair can be entered. Every pair is separated from other pairs by a comma. |The same as previous, except that it assigns "standard attribute value" to the Price field of the "standard attribute name". |
You are here: SAP CPQ Online HelpAdmin Page HelpAction Tags