Message 1 of 6
FilterIntegerRule and Int64 (long)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone, hi @jeremytammik !
Currently I am collection Floors where a parameter contains the "element id" of a specific room.
The id is saved in a shared parameter with data type / storage type "Integer".
Filter Integer Rule:
FilterIntegerRule fsr = new FilterIntegerRule(pvp, new FilterNumericEquals(), room.Id.IntegerValue);
Now, while time has passed, the "ElementId.IntegerValue" got deprecated and the replacing method "ElementId.Value" deliveres long instead of int.
But the FilterIntegerRule constructor does not accept long as datatype and I can't find any suitable replacements for the FilterIntegerRule.
Any suggestions on how to solve this dilemma?
Kindly,
Martin