This discussion is archived
0 Replies Latest reply: Dec 15, 2011 7:13 AM by 885425 RSS

Two fixes for EPM 11.1.2.1 with HFM - Default lang. and OHS with HFM.

885425 Newbie
Currently Being Moderated
FIX-1 – Change so all users get English in HFM.

Tiered of wrong language in HFM? Don’t want to change browser defaults for all users?
Now you can easily change so all users get English as default (won’t affect Workspace menu).

Simple comment out the part below in file:

*$HYPERION_HOME$\products\FinancialManagement\Web\HFM\Common\core.asp*

+'If IsEmpty(sIdLang) Or Len(sIdLang) = 0 Then+
+' ' Change HFM language based on user's browser language settings+
+' ' Note that constants are not available yet+
+' Dim strHTTP, strLANG, iStartingPoint+
+' strHTTP = LCase(Request.ServerVariables("HTTP_ACCEPT_LANGUAGE"))+
+' If Len(strHTTP) Then+
+' sIdLang = Application("HsvResourceManager").GetHFMLanguageIdFromU.......+
+' End If+
+'+
+' If Len(strHTTP) Then+
+' strPos = InStr(1, strHTTP, ",")+
+' If strPos > 0 Then+
+' m_strAcceptLanguage = Left(strHTTP, strPos - 1)+
+' End If+
+' End If+
+'+
+' If IsEmpty( sIdLang ) Then+
+' sIdLang = Request.QueryString("Logon_LanguageId")+
+' End If+
+'+
+' If IsEmpty( sIdLang ) Then+
+' sIdLang = getCookie("Logon_LanguageId")+
+' End If+
+' End If+

Remember to update core.asp after a future patch of HFM or the changes might come back.

- - - - - - - - - - - - -

FIX-2 - SmartView or LCM problem with HFM using OHS.

If you use Oracle HTTP Server (OHS) combined with HFM then check your OHS config so it is in order or you might get HTTP Error 404.

The “hfm”-path should not be above “hfmofficeprovider” and “hfmlcmservice” or the OHS-“proxy_module” will trigger even if it shouldn't resulting in a HTTP 404 error.
The order of ProxyPass should be as follows “hfmofficeprovider” --> “hfmlcmservice” --> “hfm”.

*$ORACLE_HOME$\user_projects\<instance>\httpConfig\ohs\config\OHS\ohs_component\httpd.conf*

ProxyPass /hfmofficeprovider <Part removed for internet publication>
ProxyPassReverse /hfmofficeprovider <Part removed for internet publication>
ProxyPreserveHost On

ProxyPass /hfmlcmservice <Part removed for internet publication>
ProxyPassReverse /hfmlcmservice <Part removed for internet publication>
ProxyPreserveHost On

ProxyPass /hfm <Part removed for internet publication>
ProxyPassReverse /hfm <Part removed for internet publication>
ProxyPreserveHost On

Edited by: user9540993 on Dec 15, 2011 7:13 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points