如何在Alfresco Share 3.4中获得alf

编程入门 行业动态 更新时间:2024-10-23 17:31:01
本文介绍了如何在Alfresco Share 3.4中获得alf_ticket的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我一直在使用 context.properties.alfTicket 来获取我之前一直在工作的一些自定义内容的票证,但最近我从Alfresco 3.0迁移到了3.4 。

I've been using context.properties.alfTicket to get a ticket for some custom stuff I've been working before, but recently I migrated from Alfresco 3.0 to 3.4.

现在我在Alfresco Share中找不到身份验证票 - 有没有办法解决这个问题?无论是在JavaScript(服务器端,当然)还是freemarker。

Now I can't find the authentication ticket in Alfresco Share - is there a way to get this? Whether in JavaScript (server-side, of course) or freemarker.

编辑:我添加了赏金。我会给那些给我代码示例的人提供如何获得中的 document-details.get.js 或 document-details.get.html.ftl 。

I added a bounty. I'll give the bounty to whoever gives me the code sample on how to get the alf_ticket in document-details.get.js or document-details.get.html.ftl.

推荐答案

在Alfresco webscript中你可以使用 session.ticket ,这应该在Share to中可用。这个指向 alfresco 3.4 javascript api 的链接也很有用,我不知道我认为这是露天网站上任何地方的参考资料。

In an Alfresco webscript you could use session.ticket, this should be available in Share to. This link to the alfresco 3.4 javascript api could also be useful, I don't think this is references anywhere on the alfresco site.

更多推荐

如何在Alfresco Share 3.4中获得alf

本文发布于:2023-11-28 10:15:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1641989.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何在   Alfresco   Share   alf

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!