ADM_SolutionHelper

Montreux
New Contributor III

I have a case where the client needs to add members to a dimension regularly and the ADM, Add Dimension Members, dashboard is idea as found in GolfStream.  However, there is a problem in the ADM_SolutionHelper rule that stops this from running.  It doesn't compile properly.

Error compiling Business Rule 'ADM_SolutionHelper'. 1) Error at line 136: Property 'Name' is 'ReadOnly'.

2) Error at line 137: Property 'DimId' is 'ReadOnly'.

Can someone explain how to resolve this please.  

1 ACCEPTED SOLUTION

Montreux
New Contributor III

Got it. Comment out lines 135, 136, 137, add a new line as follows.

'Dim newMem As New Member(newMemPk)
Dim newMem As New Member(newMemPk,memberName,MemberNameDescription,dimensionPK.DimId)
'newMem.Name = memberName
'newMem.DimId = dimensionPk.DimId 'parentMem.Member.DimId

View solution in original post

2 REPLIES 2

Montreux
New Contributor III

Got it. Comment out lines 135, 136, 137, add a new line as follows.

'Dim newMem As New Member(newMemPk)
Dim newMem As New Member(newMemPk,memberName,MemberNameDescription,dimensionPK.DimId)
'newMem.Name = memberName
'newMem.DimId = dimensionPk.DimId 'parentMem.Member.DimId

wnindl
New Contributor III

Lifesaver!  Thanks for this post.   

Please sign in! Montreux