cancel
Showing results for 
Search instead for 
Did you mean: 

Creating forms in alfresco share

santoshbaradwaj
Champ in-the-making
Champ in-the-making
Hi all,

Can you please help me in Creating forms in alfresco share.

my scenario is like new user option in share, when i am click on New Employee button the employee entry form will appear in the screen and what ever values i entered those values stored in DB.

can you please guide me in this.


THANKS
IN ADVANCE
17 REPLIES 17

ptvnrao
Champ in-the-making
Champ in-the-making
Sorry for again jeff,
i got this exception in create forms using alfresco form model management…..


Alfresco    Web Script Status 500 - Internal Error

The Web Script /alfresco/wcs/form-builder/previewer has responded with a status of 500 - Internal Error.

500 Description:   An error inside the HTTP server which prevented it from fulfilling the request.

Message:   07170009 Wrapped Exception (with status template): 07170054 Failed to execute script 'classpath*:alfresco/templates/webscripts/ca/ab/fm/formsmanagement/previewer/previewer.get.js': 07170053 Failed to execute search: PATH:"/app:company_home/app:dictionary/app:models/cm:Constraints//*" AND @cm\:name:"advsearch"
   
Exception:   org.alfresco.repo.search.impl.lucene.LuceneQueryParserException - 07170052 Request failed 401 /solr/alfresco/alfresco?q=PATH%3A%22%2Fapp%3Acompany_home%2Fapp%3Adictionary%2Fapp%3Amodels%2Fcm%3AConstraints%2F%2F*%22+AND+%40cm%5C%3Aname%3A%22advsearch%22&wt=json&fl=*%2Cscore&rows=2147483647&df=TEXT&start=0&locale=en_US&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON
   
   org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:333)
   org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:49)
   org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:348)
   org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:78)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:65)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   $Proxy13.query(Unknown Source)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
   org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   $Proxy13.query(Unknown Source)
   org.alfresco.repo.jscript.Search.query(Search.java:801)
   org.alfresco.repo.jscript.Search.query(Search.java:779)
   org.alfresco.repo.jscript.Search.query(Search.java:738)
   org.alfresco.repo.jscript.Search.luceneSearch(Search.java:326)
   org.alfresco.repo.jscript.Search.luceneSearch(Search.java:311)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
   org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
   org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
   org.mozilla.javascript.gen.c32._c0(file:/C:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/ca/ab/fm/formsmanagement/previewer/previewer.get.js:24)
   org.mozilla.javascript.gen.c32.call(file:/C:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/ca/ab/fm/formsmanagement/previewer/previewer.get.js)
   org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   org.mozilla.javascript.gen.c32.call(file:/C:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/ca/ab/fm/formsmanagement/previewer/previewer.get.js)
   org.mozilla.javascript.gen.c32.exec(file:/C:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/ca/ab/fm/formsmanagement/previewer/previewer.get.js)
   org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:483)
   org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:191)
   org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)
   org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)
   org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
   org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1193)
   org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
   org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:400)
   org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)
   org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500)
   org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:316)
   org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)
   org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:68)
   sun.reflect.GeneratedMethodAccessor739.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   $Proxy245.doFilter(Unknown Source)
   org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:68)
   sun.reflect.GeneratedMethodAccessor739.invoke(Unknown Source)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:116)
   org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   $Proxy245.doFilter(Unknown Source)
   org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
   org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
   org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
   java.lang.Thread.run(Thread.java:662)
   
Exception:   org.alfresco.error.AlfrescoRuntimeException - 07170053 Failed to execute search: PATH:"/app:company_home/app:dictionary/app:models/cm:Constraints//*" AND @cm\:name:"advsearch"
   
   org.alfresco.repo.jscript.Search.query(Search.java:821)
   
Exception:   org.alfresco.scripts.ScriptException - 07170054 Failed to execute script 'classpath*:alfresco/templates/webscripts/ca/ab/fm/formsmanagement/previewer/previewer.get.js': 07170053 Failed to execute search: PATH:"/app:company_home/app:dictionary/app:models/cm:Constraints//*" AND @cm\:name:"advsearch"
   
   org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:195)
   
Exception:   org.springframework.extensions.webscripts.WebScriptException - 07170009 Wrapped Exception (with status template): 07170054 Failed to execute script 'classpath*:alfresco/templates/webscripts/ca/ab/fm/formsmanagement/previewer/previewer.get.js': 07170053 Failed to execute search: PATH:"/app:company_home/app:dictionary/app:models/cm:Constraints//*" AND @cm\:name:"advsearch"
   
   org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:970)
   
Server:   Community v4.0.0 (4003) schema 5,025
Time:   Aug 17, 2012 2:50:18 PM
   
Diagnostics:   Inspect Web Script (ca/ab/fm/formsmanagement/previewer/previewer.get)



               So, please help to avoid this ……thanks in advace

jpotts
World-Class Innovator
World-Class Innovator
The 401 not authorized message related to Solr tells me you may need to read:
https://forums.alfresco.com/en/viewtopic.php?f=2&t=45940

I suspect your default Solr SSL certificate has expired.

Jeff

ptvnrao
Champ in-the-making
Champ in-the-making
thanks jeff,
  please tell me the execution flow of share app with step by step or if any documentation is there give me that link.
                           Thanks in advace…

ptvnrao
Champ in-the-making
Champ in-the-making
Thanks jeff,
                i will try to understand using that documetation.how to create and manage forms using "alfresco form model management".If you well in this plugin please help me create forms in share.please give me step by step instructions to create forms and from how and where to call the created forms in share.Using webinar i am not able to create forms completely…what changes we make in share to using this plugin..in webinar they showing different share.If any other video's is there give that link

                          many thanks in advance….

jpotts
World-Class Innovator
World-Class Innovator
Sorry, I am not familiar with the details of that plugin. You should ask the person who wrote it for a pointer to the documentation.

Jeff

ptvnrao
Champ in-the-making
Champ in-the-making
hi jeff,
        i am here again for i want interview questions on alfresco share.please tell me that question and answers.Otherwise give me a link to that for 2 years .please tell me urgently i have interview on this weekend..
                        thanks in advance…..

ujjaineesarkar
Champ on-the-rise
Champ on-the-rise
I want to know the detailed steps of form creation in alfresco community edition 5.0.c. I'v tried to create a form by copying the form-config.xml by going to C:\Alfresco_new\tomcat\webapps\share\WEB-INF\classes\alfresco and then changing few properties and renaming it to see whether any changes are implemented or not. But I can't find out where the form is created. Whether it is even created or not? how to configure it then?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.