IBM FileNet P8, Version 5.2.1            

Retrieving Collaboration Configuration

The following Java™ and C# examples retrieve the ClbCollaborationConfiguration object and print the value of one of its properties.

Java Example

// A ClbCollaborationConfiguration object has a fixed object Id.
// This Id is used to retrieve the object.
pf.addIncludeProperty(new FilterElement(null, null, null, "ClbDownloadRecordingEnabled", null));
CustomObject config = Factory.CustomObject.fetchInstance(os, new Id("{AAAD8AA6-0590-4BB3-A426-CC9EFB84A73C}"), pf);

System.out.print("Is download recording enabled? " + 
    config.getProperties().getBooleanValue("ClbDownloadRecordingEnabled"));

C# Example

// A ClbCollaborationConfiguration object has a fixed object Id.
// This Id is used to retrieve the object.
pf.AddIncludeProperty(new FilterElement(null, null, null, "ClbDownloadRecordingEnabled", null));
ICustomObject config = Factory.CustomObject.FetchInstance(os, new Id("{AAAD8AA6-0590-4BB3-A426-CC9EFB84A73C}"), pf);
System.Console.Write("Is download recording enabled? " + 
     config.Properties.GetProperty("ClbDownloadRecordingEnabled").GetBooleanValue());


Last updated: October 2015
socialCollab_configure_snip1.htm

© Copyright IBM Corporation 2015.