PDM API getvar on CardInput gets the previous value
Posted: Tue Jun 06, 2023 3:01 pm
Anyone have this problem?
I have a fairly complex datacard for a virtual file that, i believe, since upgrading to 2022sp5 has been acting up. It seems that when my addin runs from getting the CardInput hook, the value that the program sees is the previous value that was on the card. I've seen it happen with checkboxes and combobox lists- selecting a value produces "" and then selecting it again finally makes it to the program. on checkboxes, checking it off produces 0 and unchecking gives a 1. For some of them, deleting the card control and readding it has fixed it. but on others this fix has not worked. And not every combo/checkbox is doing this, just a few.
i found SPR 1211895 'CardInput hook does not get right variable value' that is 2 years old with no fix, and i cant see the details or vote on it because they borked the customerportal.
just wondering if anyone had a real fix
thanks
-Tom
I have a fairly complex datacard for a virtual file that, i believe, since upgrading to 2022sp5 has been acting up. It seems that when my addin runs from getting the CardInput hook, the value that the program sees is the previous value that was on the card. I've seen it happen with checkboxes and combobox lists- selecting a value produces "" and then selecting it again finally makes it to the program. on checkboxes, checking it off produces 0 and unchecking gives a 1. For some of them, deleting the card control and readding it has fixed it. but on others this fix has not worked. And not every combo/checkbox is doing this, just a few.
i found SPR 1211895 'CardInput hook does not get right variable value' that is 2 years old with no fix, and i cant see the details or vote on it because they borked the customerportal.
just wondering if anyone had a real fix
thanks
-Tom