Hi,
i have created app for office 2013 and created a content control in the document.
i first bind the content control while initializing the app.
where is code for binding.
Office.context.document.bindings.addFromNamedItemAsync(controlName, Office.BindingType.Text, { id: controlName + 'Binding' }, function (asyncResult) { if (asyncResult.status == Office.AsyncResultStatus.Failed) { //showNotificationAlert(controlName + ' Control not Found!', asyncResult.error.message); } });
But the problem is, when i create another same content control with different name in the footer or header it does not binds the "Navn" content control which is in the main content of the document. also does not bind the control which is in the footer.
but i don't have any other control with the same name like ABC.
How can i bind content controls in footer or header?
can anyone please help me.
Thanks in Adva