Description: Obtaining the size of a space in BusinessWorks for ActiveSpaces plugin. There is no palette available but this can be implemented by using Remote InvokeActivity.
Issue/Introduction
Using Remote InvokeActivity to get space size.
Resolution
Here is a sample to run the remote invocation in BusinessWorks.
1). Create a java class (MyASInvocableMember) which implements MemberInvocable and get the size from there.
2). Compile
this Java class to a jar file and put the jar file in the
classpath (designer.tra in Designer or application.tra in Administrator).
3). Use
the attached BW project (Filenames: getSpaceSize.jar, MyASInvocableMember.java and SpaceSize.zip). Run the PutDummy process first to enter 100 entries
and then run the process RemoteInvocate. It will return the size and print it to the log.
Attachments
Using Remote InvokeActivity to get space size.
get_app
Using Remote InvokeActivity to get space size.
get_app
Using Remote InvokeActivity to get space size.
get_app