Hello
How to call merge function in custom page ?
Hello
How to call merge function in custom page ?
Hi Tevfik Tümer
Man you are the best search engineer man .
Hello Tevfik,
It is working well. However I want to set the primary record id in the merge process. How can we set that ?
Hello,
I have successfully open the Merge Screen from the code mentioned by Tevfik. When the merge screen is open my primary record is display as secondary record. How can we set the correct primary record into merge process ? Following is my code to open the Merge screen.
var records = app.data.createBeanCollection("Contacts");
records.fetch({
'filter':[{
"id": {
'$in':[
primaryRecordId,
secondaryRecordId,
]
},
}],
success: function (collection) {
bwcView.mergeDuplicates(collection);
},
complete: function () {
bwcView.context.set("module", previusContextModule);
}
But when the merge screen is open Primary Record is display on right side. It should actually comes on the left side.
Anyone has idea how we can make the primary record to be display on left side ? Any help is appreciated.