alfresco-share

companyhome not defined error in bundle service *.post.js file in Alfresco Share

一曲冷凌霜 提交于 2021-01-29 09:04:43
问题 I have a custom service /hayts the processes file uploads and metadata. the same files work when following the MultiPart Forms Tutorial. However, when I bundle the files into My Share application. I can load the form submit it to upload the file. But the POST processing JS fails. The Web Script /share/page/hayts 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: 11120001 Failed to

Alfresco login page bypassing

大城市里の小女人 提交于 2020-07-22 21:38:04
问题 I created a valid ticket using a webservice call...code shown below $url="http://serverip:port/alfresco/service/api/login?u=xxx&pw=xxx"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); $response =curl_exec($ch); Now using this ticket i want to authenticate alfresco without again entering username and password.Also i want to create a valid cookie JSESSIONID inside browser with this

Alfresco login page bypassing

好久不见. 提交于 2020-07-22 21:34:18
问题 I created a valid ticket using a webservice call...code shown below $url="http://serverip:port/alfresco/service/api/login?u=xxx&pw=xxx"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); $response =curl_exec($ch); Now using this ticket i want to authenticate alfresco without again entering username and password.Also i want to create a valid cookie JSESSIONID inside browser with this

Alfresco - add recipient's name to workflow notification email template

生来就可爱ヽ(ⅴ<●) 提交于 2020-07-10 10:29:00
问题 I'm using Alfresco 5.2 Community. I'm trying to edit the template wf-email.html.ftl file found in Repository> Data Dictionary> Email Templates> Workflow Notification> wf-email.html.ftl. In the line <p>Hi,</p> I want to add the recipient's name in the message, something like <p>Hi John,</p> Is this possible? If yes, how is it achieved? 回答1: Unfortunately, the assignee is not passed as an argument to the template, so it is not available to the template. You can see this by looking at the source

Alfresco - add recipient's name to workflow notification email template

时光毁灭记忆、已成空白 提交于 2020-07-10 10:28:13
问题 I'm using Alfresco 5.2 Community. I'm trying to edit the template wf-email.html.ftl file found in Repository> Data Dictionary> Email Templates> Workflow Notification> wf-email.html.ftl. In the line <p>Hi,</p> I want to add the recipient's name in the message, something like <p>Hi John,</p> Is this possible? If yes, how is it achieved? 回答1: Unfortunately, the assignee is not passed as an argument to the template, so it is not available to the template. You can see this by looking at the source

Alfresco - Aikau Custom Action

为君一笑 提交于 2020-04-17 21:35:21
问题 I want add custom action in alfresco aikau search page. I have created extension module. <extension> <modules> <module> <id>Custom Action In Search Result Page</id> <auto-deploy>true</auto-deploy> <version>1.0</version> <customizations> <customization> <targetPackageRoot>org.alfresco.share.pages.faceted-search </targetPackageRoot> <sourcePackageRoot>com.custom.faceted-search</sourcePackageRoot> </customization> </customizations> </module> <module> <id>Tutorial widgets</id> <version>1.0<

Alfresco - Aikau Custom Action

旧街凉风 提交于 2020-04-17 21:35:05
问题 I want add custom action in alfresco aikau search page. I have created extension module. <extension> <modules> <module> <id>Custom Action In Search Result Page</id> <auto-deploy>true</auto-deploy> <version>1.0</version> <customizations> <customization> <targetPackageRoot>org.alfresco.share.pages.faceted-search </targetPackageRoot> <sourcePackageRoot>com.custom.faceted-search</sourcePackageRoot> </customization> </customizations> </module> <module> <id>Tutorial widgets</id> <version>1.0<

Alfresco - Aikau Custom Action

旧街凉风 提交于 2020-04-17 21:33:32
问题 I want add custom action in alfresco aikau search page. I have created extension module. <extension> <modules> <module> <id>Custom Action In Search Result Page</id> <auto-deploy>true</auto-deploy> <version>1.0</version> <customizations> <customization> <targetPackageRoot>org.alfresco.share.pages.faceted-search </targetPackageRoot> <sourcePackageRoot>com.custom.faceted-search</sourcePackageRoot> </customization> </customizations> </module> <module> <id>Tutorial widgets</id> <version>1.0<

Access file/content directly from Alfresco without log in

对着背影说爱祢 提交于 2020-01-25 03:39:25
问题 My scenario is this.. I am having a web application which uses the ALFRESCO CMS to display files or images. What I am doing is I login to alfresco using username and password in a Java servlet and I can able to get a ticket for that login. But I could not able to access the file/image from browser directly with that ticket. When I launch the url (with ticket) from the browser it goes to alfresco login page for credentials. Do we have any way to login to alfresco programmatically and get the

Alfresco: Folder permission by role

走远了吗. 提交于 2020-01-25 03:04:26
问题 Problem: we have a space template that we use as a folder structure for share sites document library . Our aim is to make visible some folders to special users that have a custom role (created in sitePermissions.xml). generally we can do that with groups but we need to do that with roles (e.g. when we invite an external user, we wish to assign him to an internal role so he can automatically see some folders). Please help us with some clues. 回答1: Short Version: You need need to assign that