VCM V8 content management tips

1. workplace extension compile

Weblogic.jar has dependency on its manefist file to reference to other jars.

 

2. CMA extension development

Get ServletContext for v8 cma extension

HttpServletRequest httpRequest = (HttpServletRequest)request.getService().getRequest(). getWrappedObject();

ServletContext ctx = httpRequest.getSession().getServletContext();

 

3. Export only the updated content from QA to update my Prod

SELECT VCO.ID
FROM VGNCMSOBJECT VCO, VGNASCONTENTTYPE VACT, VGNASMOMETADATA VAMM
WHERE VAMM.OBJECTTYPEID = VACT.ID
AND VAMM.CONTENTMGMTID = VCO.ID
AND VCO.LASTMODTIME > (last export start time)

This query will return the IDs that need to be exported. You take these IDs
and use them to create a package manifest file to export those objects.


List of vgn system table:

Managed Object definition

VGNCMSOBJECT

Mapping between ManagedObject and Content Table.

VGNASMOMAP



4.  VCM - Unable to Search Content Using GUID in V8

Add the parameter vcmSys-identifier before the GUID, and then perform a search.

Example:

vcmSys-identifier:0039c52393c89210VgnVCM1000008221120aRCRD

 

5. How to change the FROM address in workflow email notifications

 

Open the Configuration Console and navigate to:
Vignette V7 Content Suite – vgninst –> Vignette V7 Content Management
Services –> VCM Server –> PWS –> Workflow –> Mail –> Settings

Change the value of the FROM variable.

 

6. How to change clear DSM/FURL cache

 <%@page import="com.vignette.ext.templating.cache.HeapLimitedObjectCache"%>
<%@page import="com.vignette.ext.templating.util.SysUtil"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.Date"%>

<%


               HeapLimitedObjectCache cache = (HeapLimitedObjectCache)SysUtil.getObjectCache();
               if(cache != null) {
                   SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyyHH:mm:ss");
                   String tstamp = sdf.format(new Date());
                       long cachedObjectSize = cache.getCachedObjectSize();
                       long cacheInfo = cache.getCacheInfo();
                   %><%=tstamp%> <%=cachedObjectSize%>,<%=cacheInfo%><%
                       cache.removeAll();
                   %><%=tstamp%> <%=cachedObjectSize%>,<%=cacheInfo%><%
               }
%>

7. v8.1 CMA debug environment jar file list: 

 

wlfullclient.jar

vgn-shared-logging.jar

log4j.jar

vgn-appsvcs-cma.jar

thirdparty-combined.jar

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值