Picture of iqbal
Registered 5 years 221 days
iqbal Friday, 10 June 2022, 01:13 PM
How to avoid that replicator removes custom column values in users table
Hi
I have a Problem with replication in c++ Service. Whenever in PBX user object is changed, in our c++ Service App removes replicator custom column values.
I am replicating users table and I added there extra colum for saving some information about that particular user (extra table for one column was not option). This information is deleted whenever replicator replicates users from pbx.
please tell me how can i handle this.

Best Regards
Iqbal
Picture of iqbal
Registered 5 years 221 days
iqbal Tuesday, 14 June 2022, 03:01 PM
Re: How to avoid that replicator removes custom column values in users table
Hi
Any update on my issue ?

Please let me know if there is possibilty to solve this problem using sdk.

Best Regards
Iqbal


Andreas Fink
Moderator Registered 13 years 52 days
Andreas Fink (innovaphone) Wednesday, 15 June 2022, 10:25 AM in response to iqbal
Re: How to avoid that replicator removes custom column values in users table
Hello Iqbal,

you are calling the function
AddColumn(const char * remote, const char * local, enum ReplicationType type, bool update) 
on your AppInstance class, that uses UReplicator as base class, to add a column that do not exist on the PBX user object?

Cloud you post a usage example?

My fear is, that this way is not supported - the column will be removed, as soon an update from PBX arrives, where no such column exists.

Best Regards
Andreas Fink
← You can define your color theme preference here