Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
'Properties file and fErrorPrefix
Greg_Griffiths_(ggriffiths_-_(deleted))
Dear All, I am trying to get the fErrorPrefix value to come from my module's properties file rather than being provided directly in the module's feature, but for some reason I can't get it to work, any help would be appreciated.
Find more posts tagged with
Comments
Donna Nalls
Hi Greg,You didn't really indicate how you were trying to set the feature or what exactly was failing, so i will go on the assumption that you are not able to get the xlate tag reference to work when you put it directly in the fErrorPrefix feature......if that is the case, please try the following:If you are in a request handler, you can add a line to your 0SetUp script to update the fErrorPrefix feature, using your xlate reference. Then Run Scirpt 0SetUp:Edit 0Setup, and add:.fErrorPrefix = [YOURCUSTOM_ERRORLABEL.ErrorPrefix]on 0SetUp: Run ScriptYour fErrorPrefix feature should now open an Edit XLate window if you open it up.Best,Donna
Greg_Griffiths_(ggriffiths_-_(deleted))
Donna, I've done a similar thing in the EXECUTE method of the function, but thought it would be possible to put the value :[YOURCUSTOM_ERRORLABEL.ErrorPrefix]directly into the fErrorPrefix feature ?
Greg_Griffiths_(ggriffiths_-_(deleted))
Donna, I've done a similar thing in the EXECUTE method of the function, but thought it would be possible to put the value :[YOURCUSTOM_ERRORLABEL.ErrorPrefix]directly into the fErrorPrefix feature ? I assume from your post that it should be, can you provide an example, do I need to add some other brakcets or something ?
Rolf_Poser_(eu0018377_-_(deleted))
Message from Rolf Poser <
rolf@stasolutions.co.za
> via eLink
Greg:
One way I've found to do this is(albeit a rather manual way):
1. Change the type of the featureto "Dynamic"
2. Edit the feature and use the followingencapsulation:
X<MODULE_LABEL.MyString>
3.Where MODULE_LABEL.MyString has to be matched exactly in your propertiesfile.
4. Once you've saved the value, you should now be able toconfirm that it is picking it up correctly by double clicking it. (TheXlates window should appear with the value from the properties file.)
If the last step fails it could be that your newly createdproperties file hasn't been picked up re-read properly in which case you'dneed to restart builder.
I'm sure there's an easier way ;-)
Cheers,
Rolf.
> some thoughts1
> Posted by Griffiths, Greg on 04/21/2006 06:22 AM
>
> Donna,
> I've done a similar thing in the EXECUTEmethod of the function, but
> thought it would be possible to putthe value :
>
> [YOURCUSTOM_ERRORLABEL.ErrorPrefix]
>
> directly into the fErrorPrefix feature ? I assume fromyour post that it
> should be, can you provide an example, do Ineed to add some other
> brakcets or something ?
>
> [To reply to this thread, use your normal E-mail replyfunction.]
>
>============================================================
>
> Topic: 'Properties file and fErrorPrefix
>
https://knowledge.opentext.com/knowledge/livelink.exe/open/5427850
>
> Discussion: Development Discussion
>
https://knowledge.opentext.com/knowledge/livelink.exe/open/786303
>
> Livelink Server:
>
https://knowledge.opentext.com/knowledge/livelink.exe
>
>To Unsubscribe from this Discussion, send an e-mail to
>unsubscribe.development@elinkkc.opentext.com.
>
>
>
Hans Stoop
Message from Hans Stoop via eLinkWhat you can do is put the text in the feature.Edit the feature.Select Xlate All under the text menu and select the right Xlate.Hans> -----Original Message-----> From: eLink Discussion: Development Discussion > [mailto:development@elinkkc.opentext.com] > Sent: vrijdag 21 april 2006 12:22> To: eLink Recipient> Subject: some thoughts> > some thoughts> Posted by Griffiths, Greg on 04/21/2006 06:21 AM> > Donna, > I've done a similar thing in the EXECUTE method of the > function, but thought it would be possible to put the value :> > [YOURCUSTOM_ERRORLABEL.ErrorPrefix]> > directly into the fErrorPrefix feature ?> > [To reply to this thread, use your normal E-mail reply function.]> > ============================================================> > Topic: 'Properties file and fErrorPrefix>
https://knowledge.opentext.com/knowledge/livelink.exe/open/5427850>
; > Discussion: Development Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe/open/786303>
; > Livelink Server:>
https://knowledge.opentext.com/knowledge/livelink.exe>
; > To Unsubscribe from this Discussion, send an e-mail to > unsubscribe.development@elinkkc.opentext.com.> > >