Sean,

Long ago when I was upgrading from rev 5 via User Tool to 6.3 via browser, the 
OLE spell check that I had implemented (from the Remedy sample) stopped 
working.  I was told by Remedy Support at the time that "OLE is not supported 
on the web", but they sent me an "unsupported workaround".  I've never gotten 
back to this (spell check loss wasn't considered a big problem), so I don't 
know if this will work now or not.

Good luck!

- David

***
Please note that this workaround is to be used at your own discretion. We 
provide this customization solely as an example to workaround the limitation of 
not having spell check available for web.  Please be advised that for this 
customization to work, that you will need to have ActiveX enabled on your 
browser.  This workaround also is only available for IE browsers.

The workaround:
Here's the script you need to add to each web view:

<SCRIPT>     
function spellcheck(fid)     
{     
window.blur;     
oWord= new ActiveXObject("Word.Application");      
oWord.application.Visible= true;      
oWord.Documents.Add();      
oWord.ActiveDocument.Content.InsertAfter(theForm.getField(fid).get());     
oWord.ActiveDocument.CheckSpelling();      
oWord.Selection.WholeStory();      
var spellCheckedText = oWord.Selection.Text;     
oWord.ActiveDocument.Close(0);      
oWord.Quit();      
theForm.getField(fid).set(spellCheckedText);     
}     
</SCRIPT>

Place this script just before the closing <\BODY> tag

For each field you wish to spellcheck, create a new button.

Then create a Run Process Active link:

The run process command line would read:

javascript:spellcheck("F#");  

Replace # with the database ID of the field that button should spell check.

***



David M Clark
Remedy Programmer/Analyst


>>> "Garrison, Sean (Norcross)" <[EMAIL PROTECTED]> 1/23/2008 9:35 AM >>>
Does anyone know of a way to do spell checking in Remedy Mid-Tier?


Sean



_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to