AnsweredAssumed Answered

TypeError: Alfresco.module.getXXInstance is not a function

Question asked by nikhilesh_s1vakot1 on Dec 6, 2012
Latest reply on Dec 12, 2012 by erikwinlof
Hi All,
I am creating a custom site using the create-site webscript. In My dashlets create site button click i am calling my own function like getCreateProjInstance()
onCreateSubProj : function z(C) {
                     Alfresco.module.getCreateSubprojInstance().show();
                     B.preventDefault(C)
                  },
but am getting the error as below

TypeError: Alfresco.module.getCreateSubprojInstance is not a function
[Break On This Error]    

Alfresco.module.getCreateSubprojInstance().show();



I have stucked by this issue for 2 days. Please help me in solving out…

Outcomes