Monday, February 6, 2012 7:16

Author Archive

Convert e.printStackTrace() to string

Tuesday, October 25, 2011 23:11

When catching Java exceptions, we usually want to print the stack trace.  Sometimes we also want the detailed message to be used in business related logic. e.g. sending the detailed exception message by email. So we need to convert the result of e.printStackTrace() to string: private static String getStackTrace(Exception e) { StringWriter stringWriter= ...

This was posted under category: Java  |  Read Full Story  |  0 Comments

The Big Bang Theory Season 2 Episode 04 – The Griffin Equivalency

Friday, October 21, 2011 2:55

The transcript of The Big Bang Theory Season 2 Episode 04 – The Griffin Equivalency Scene: The apartment. Leonard is sorting out Chinese food. Leonard: Let’s see, Raj was the Kung Palo Chicken. Penny: I’m the dumplings. Howard: Yes, you are. Penny: Creepy, Howard. Howard: Creepy good or creepy bad? Leonard: Who was the Shrimp with Lobster ...

This was posted under category: English  |  Read Full Story  |  0 Comments
Tagged with:

Update the r_modifier of the document

Thursday, October 13, 2011 22:50

Sometimes you may want to specify the user name for the r_modifier of the document (or specify a value for the attribute r_modify_date). These two attributes are updated automatically with the save API. As it turns out, any time the save API is called against an object, the r_modify_date and r_modifier ...

This was posted under category: Documentum  |  Read Full Story  |  0 Comments
Tagged with:

DM_AUDITTRAIL_E_AUDIT_DOCBASE_WIDE_NOT_ALLOW_EXTRA

Wednesday, October 12, 2011 23:40

When executing the API command - " audit,c,l,event_name,,,,,,,'event_description','event_attributes' ", I got the below error message: [DM_AUDITTRAIL_E_AUDIT_DOCBASE_WIDE_NOT_ALLOW_EXTRA]error:  "You are not allowed to specify extra values, 'T', when docbase-wide event is audited." In the powerlink site of EMC, it is mentioned that 'Audit api is not supported in D6. You need to use either ...

This was posted under category: Documentum  |  Read Full Story  |  0 Comments

Leave my XML file alone in Documentum

Friday, May 13, 2011 1:20

When an XML document is imported or checked in to the Docbase, there is an algorithm to determine which XML applications apply. There are three ways to turn off XML validation while importing or checking in XML files: 1. To permanently turn off XML validation in your repository modify the "format_class" attribute ...

This was posted under category: Documentum  |  Read Full Story  |  0 Comments
Tagged with:

Delete all hyperlinks on a sheet in Excel

Wednesday, April 20, 2011 2:13

Question:  I've had a hyperlink problem in my Excel files for ages: false hyperlinks had crept in (even in empty cells) and were multiplying regularly whenever I inserted new lines. How can I delete all hyperlinks in a sheet at once and not have to delete them ...

This was posted under category: Computer Skill  |  Read Full Story  |  0 Comments
Tagged with:

The detail of SharePoint feature

Tuesday, April 12, 2011 2:53

SharePoint Features can be targeted at the Farm, Web Application, Site Collection or Web Site scope. The target will effect things like where you can manage the feature activation from in the UI and at which point (and how many times) the Feature receiver events ...

This was posted under category: SharePoint  |  Read Full Story  |  0 Comments

How to execute the PowerShell script

Tuesday, April 12, 2011 2:45

Here are basic instructions to help you execute a PowerShell command.  You have a choice of three strategies; firstly, the time-honoured method of copying other people's examples, and then pasting their code into your PowerShell session.  Secondly, creating cmdlets (my favorite), ...

This was posted under category: SharePoint  |  Read Full Story  |  0 Comments

what is SharePoint\System account

Tuesday, April 12, 2011 2:42

SHAREPOINT\System account is the same account used by application pool of your SharePoint web application in IIS at the time of creation/extension of respective web application. This is the account which is used when you run your code in under elevated privileges by SPSecurity.RunWithElevatedPrivileges. When you create/extend a web application in SharePoint ...

This was posted under category: SharePoint  |  Read Full Story  |  0 Comments
Tagged with:

Diaply file name extensions in windows 7

Tuesday, April 12, 2011 2:39

A file name extension is a set of characters added to the end of a file name that determine which program should open it. Follow these steps to choose whether Windows displays these file extensions. Open Folder Options by clicking the Start button ...

This was posted under category: Computer Skill  |  Read Full Story  |  0 Comments
Tagged with: