none
TextBinding Error,Multiple objects with the same name were found’ error (code: 3007) RRS feed

  • Question

  • Hi ,

    I have some strange issue occurring in JavaScript API, when I try to create a binding for the COntent Control its throwing the error Multiple objects with the same name were found’ ,but I am not  creating with the same Name.this issue occurs in one of the document.please can u suggest why its causing the problem.

    Office.context.document.bindings.addFromNamedItemAsync(

    'hellotestd',

             Office.BindingType.Text, { id:

    'hellotest4234234234'},

    function(result) {

                   

    if(result.status === Office.AsyncResultStatus.Succeeded) {

                         app.showNotification(

    'The selected text is:', '"'+ result.status + '"');

                     }

    else{

                         app.showNotification(

    'Error:', result.error.message);

                     }

                 }

             );


    • Edited by Deepak-G Wednesday, October 28, 2015 5:59 PM
    Wednesday, October 28, 2015 5:57 PM

All replies