Jeff Lindborg | 1.The type field should not be empty – it should have a number (1 through 8) – I suspect you’re seeing the type empty because of #2.
2.You should not be passing in the device name – “Other” is always the name for all added notification devices – if you add a device via the SA, regardless of type, the name is _always_ “other” and the type will be 1, 2, 4 or 5 (or 8 in CUC 9.0) – the SMTP, Work Phone, Mobile Phone etc… are the built in notification devices created for all users that are present for everyone – these are also the ones available via the TUI interface for enable/disable purposes (i.e. the conversation needs to know they’re there).
3.You should pass in the type as appropriate (1 for phone devices, 2 for pager, 4 for SMTP and so on) – these will have different data associated with them – not sure if you’re talking about these conflicting objects you’re creating or the base objects.
It really shouldn’t let you pass the device name frankly – but to be fair the database stored procs allow this as well (they have to as the install scripts go this route for creating those base devices) – but doing some quick testing here I’m getting the appropriate data base for each device type. If after cleaning up your system (I’d recommend deleting those added devices and/or users and starting clean) let me know and I can check it – also need to know exactly what version of Connection you’re working against (I’m testing against 8.6.2). |
| Please sign in to flag this as inappropriate. |