I haven't had the chance to read through the book yet, but I was using it as a reference today. From what I saw today, it looks like the descriptions of CHECKIN_SEL and WORKFLOW_CHECKIN in Appendix E omit some required parameters: dID and dRevLabel.
It's a good feeling to have so much Bex knowledge at my fingertips. Thanks.
I have Eclipse 3.2.1 on Windows XP. I'm ok until step #5. I don't see a "Add Folder" choice.
I do however have a choice of "Create New Source Folder" under Details at the bottom of the dialog box, but
doing this doesn't give me a "Advanced >>" button as step #7 indicates.
Also, where exactly should the CustomFilter.java file go?
/stellent/custom/AlterPrefix/classes (or) /stellent/classes/alterprefix/classes
Having no prior experience with Eclipse I was having problems following the
book's instructions. So I downloaded the older version of Eclipse 3.0 and
now I am able to follow the instructions much closer now.
So I created the AlterPrefix project and added the Stellent project to it.
But when I enter the java code for CustomFilter.java, the project doesn't
recongnize the "import intradoc..." references. After messing with it for a
while I decided to delete the AlterPrefix project and create it as a package
under the Stellent base project. Doing it this way does recognizde the import
intradoc statements and compiles without errors.
Does anyone know what I would have missed before while having the AlterPrefix
project stand-alone with the Stellent base project added to it?
I think I found what I was missing. I wasn't adding the external JARs to the
AlterPrefix project. I was thinking that when I added the Stellent base
project it was getting those from the base. Anyhow, I added them and now
I seem to be ok.
Thanks, I'll eventually need to put up info for Ecipse 3.2 as well. Its frustrating that they change it so much between 3.0 and 3.2... and they constantly make it harder to link a folder to the filesystem. They expect everybody to use ANT, I guess ;)
Just for kicks I decided to try to use the HELLO_WORLD service in a Profile/Rule
default value.
For example:
I added a custom default value to the xComment field like this...
<$dprDefaultValue=executeService("HELLO_WORLD")$>
I expected it to place the "Hello World!" text by default in the Comment field.
Obviously I'm going about this the wrong way. Is this just a syntax problem?
There is no return value for executing a service... it uses a complex binder of data for the input, and has a complex binder of data for output.
I'm not positive what you are trying to do... but I believe you should start In your case, you would need to make HELLO_WORLD a scriptable service. See chapter 2 for an explination of the security flags.
Well written, easy to understand and use, congratulations on a truly useful tool. I have worked with Stellent for many years, and have this book next to my keyboard at all times! Bex has always provided clear answers for the user group, but this provides a clear direction no matter what you need to do with your Stellent system. fosamax
Possible error: CHECKIN_SEL, WORKFLOW_CHECKIN
I haven't had the chance to read through the book yet, but I was using it as a reference today. From what I saw today, it looks like the descriptions of CHECKIN_SEL and WORKFLOW_CHECKIN in Appendix E omit some required parameters: dID and dRevLabel.
It's a good feeling to have so much Bex knowledge at my fingertips. Thanks.
-Jeff
Confusion on Page 210
I have Eclipse 3.2.1 on Windows XP. I'm ok until step #5. I don't see a "Add Folder" choice.
I do however have a choice of "Create New Source Folder" under Details at the bottom of the dialog box, but
doing this doesn't give me a "Advanced >>" button as step #7 indicates.
Also, where exactly should the CustomFilter.java file go?
/stellent/custom/AlterPrefix/classes (or) /stellent/classes/alterprefix/classes
Thanks,
-Greg
Having no prior experience
Having no prior experience with Eclipse I was having problems following the
book's instructions. So I downloaded the older version of Eclipse 3.0 and
now I am able to follow the instructions much closer now.
So I created the AlterPrefix project and added the Stellent project to it.
But when I enter the java code for CustomFilter.java, the project doesn't
recongnize the "import intradoc..." references. After messing with it for a
while I decided to delete the AlterPrefix project and create it as a package
under the Stellent base project. Doing it this way does recognizde the import
intradoc statements and compiles without errors.
Does anyone know what I would have missed before while having the AlterPrefix
project stand-alone with the Stellent base project added to it?
Thanks,
-Greg
I think I found what I was
I think I found what I was missing. I wasn't adding the external JARs to the
AlterPrefix project. I was thinking that when I added the Stellent base
project it was getting those from the base. Anyhow, I added them and now
I seem to be ok.
yeah, Eclipse is finicky
Thanks, I'll eventually need to put up info for Ecipse 3.2 as well. Its frustrating that they change it so much between 3.0 and 3.2... and they constantly make it harder to link a folder to the filesystem. They expect everybody to use ANT, I guess ;)
HELLO_WORLD Service
Just for kicks I decided to try to use the HELLO_WORLD service in a Profile/Rule
default value.
For example:
I added a custom default value to the xComment field like this...
<$dprDefaultValue=executeService("HELLO_WORLD")$>I expected it to place the "Hello World!" text by default in the Comment field.
Obviously I'm going about this the wrong way. Is this just a syntax problem?
Thanks,
-Greg
not quite...
There is no return value for executing a service... it uses a complex binder of data for the input, and has a complex binder of data for output.
I'm not positive what you are trying to do... but I believe you should start In your case, you would need to make HELLO_WORLD a scriptable service. See chapter 2 for an explination of the security flags.
Also, then your code would look like this:
<$executeService("HELLO_WORLD")$>
<$dprDefaultValue=helloMessage$>
Of course, executing a service call in a profile rule is a bit expensive... you might want to consider a custom IdocScript function instead.
removed some comments...
as per user request, two comments were removed...
reply
Well written, easy to understand and use, congratulations on a truly useful tool. I have worked with Stellent for many years, and have this book next to my keyboard at all times! Bex has always provided clear answers for the user group, but this provides a clear direction no matter what you need to do with your Stellent system. fosamax
thanks!
Very complimentary, fosamax... I appreciate it. Don't forget to put your review on Amazon as well.
reply
actually, thank you (again) for the book. fosamax
Post new comment