<portlet>
<description>RepNewsletter</description>
<portlet-name>RepNewsletter</portlet-name>
<portlet-class>org.alfresco.web.scripts.portlet.WebScriptPortlet</portlet-class>
<init-param>
<name>authenticator</name>
<value>webscripts.authenticator.jsr168.webclient</value>
</init-param>
<init-param>
<name>scriptUrl</name>
<value>/sem/ws/newsletters.html?newsletter={idnewsletter}&from={idFrom}&rep={rep?}</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<portlet-info>
<title>Rep Newsletter</title>
<short-title>Rep Newsletter</short-title>
</portlet-info>
</portlet>
Et le fichier de description de mon webscript :<webscript>
<shortname>Lister les réponses à la newsletter</shortname>
<description>Lister les réponses à la newsletter</description>
<url>/sem/ws/newsletters.html?newsletter={idnewsletter}&from={idFrom}&rep={rep?}</url>
<format default="html">extension</format>
<authentication>user</authentication>
<transaction>required</transaction>
</webscript>
The requested resource (/alfresco/RepNewsletter/invoke) is not available(j'ai essayé des webscript sans paramètre également)
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.