Forum Discussion
- ManasaNew Contributor III
Hi Marta,
One approach would be to use a button and a dashboard extender rule to do this.
Create a button that calls the rule as shown below, passing the member's name and the text5 value (modify as needed).
and use the below code to update the property.
Dim selectionChangedTaskResult As New XFSelectionChangedTaskResult() Dim memberName As String = args.NameValuePairs.XFGetValue("Name") Dim propertyValue As String = args.NameValuePairs.XFGetValue("Value") Dim member = BRApi.Finance.Members.GetMemberInfo(si, DimType.UD2.Id, memberName,True) Dim UD2Properties As UDVMProperties=member.GetUDProperties() UD2Properties.Text5.SetStoredValue(ScenarioType.Unknown.Id, DimConstants.Unknown, propertyValue) selectionChangedTaskResult.WorkflowWasChangedByBusinessRule = True selectionChangedTaskResult.IsOK = True selectionChangedTaskResult.ShowMessageBox = True selectionChangedTaskResult.Message = "Text 5 updated" Return selectionChangedTaskResult
Thank you.
- johnnyRocketsNew Contributor II
Hi Marta,
An alternative would be to utilize ACM (Application Control Manager) from the marketplace. The out-of-the-box functionality within ACM provides a Workflow to manage any metadata change requests. It could be worth exploring, especially if you will need to update more than one member property.
Thanks!
Related Content
- 3 years ago
- 11 months ago
- 11 months ago
- 2 years ago