CustomSubstVars Warning Message
I am looking to upgrade from 7.1 to 8. In the process of compiling dashboard extender rules, I get the following warning message.
Warning at line 50: 'Public Overloads ReadOnly Property TaskInfo As XFSelectionChangedTaskInfo' is obsolete: 'This is a temporary function used by Marketplace Solutions for backwards compatibility with old XF versions. Please change your code to use supported functionality. Use SelectionChangedTaskInfo instead.'.
Question. Is there an alternative syntax that will achieve the same result? As best as I can decipher, the code in question (below) is to retrieve the value from the bound parameter LastActMonth_BDA into a new variable titled newLastActMth.
Dim newLastActMth As String = args.TaskInfo.CustomSubstVars("LastActMonth_BDA")
Bob,
Somewhere in your code you're referencing your SelectionChangedTaskInfo using args.TaskInfo.
Change args.TaskInfo to args.SelectionChangedTaskInfo and the error will go away.posted the important part because its impossible to post an image without this forum making it blurry.