VCM V8 content management tips
来源:互联网 发布:mysql数据库下载64位 编辑:程序博客网 时间:2024/06/04 18:03
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
- VCM V8 content management tips
- TIPS: Management
- Get Content Item using Query Componen from VCM
- Linux Management Tips
- mysql user management tips
- iPhone Memory Management Tips
- Content Management Systems
- Internal Content Management System
- Content management system
- content management system
- Linux Command Tips - User Management
- Tips for successful project management
- ColdFusion-based Content Management Systems
- Open source content management platform
- Web Content Management With Documentum
- Alfresco Enterprise Content Management Implementation
- OFBiz Content Management How to
- Top 10 content management systems
- 利用JS重写Cognos右键菜单
- 近况
- uboot 与 Linux 内核移植
- Custom NAT and DHCP Configuration on a Windows Host
- Windows7 VMware USB Arbitration Service启动失败解决
- VCM V8 content management tips
- shell编程日记---02
- 预编译命令总结
- gc和operator new:不得不说的事
- DirectX 小游戏
- 感谢赵杰(jackhope)umi v4加密狗驱动对我很有用
- Debugging tools
- Mac OS X: 文件图标制作和变更(Resource Fork)
- 经典SQL语句大全(一)