Last month brought lot of new things to my life. I came back from Islamabad after spending 5 months (18/7) on client side. We worked like hell there. And on 31st of March I got married :).. thanks :).. and this is something I’ve been thinking form the day I got married that how people get time for their studies after getting married :).. any comment from married readers would be really appreciated :)..
And finally this is a VBScript snippet, used in FileNet CE, I have written to change the property value of a folder on its creation. This code is used on a subscription event and changes the value of an attribute of a folder as soon as the folder is created
Public Sub OnEvent (EventObject, Subscription)
dim oSource , os
Const idmObjTypeFolder = 2
set os = EventObject.ObjectStore
set oSource = os.GetObject(idmObjTypeFolder,EventObject.SourceObjectId)
oSource.SetValue "ObjectStoreName", Ucase(os.Name)
oSource.Save
End Sub