Unable to open a from Smart View but its working fine from Planning Web


There can be a situation which will take you by surprise at first:
When you can open a data from without issues from the Planning Web but when you try to open the same form from Smart view you will end up in Invalid form Error.

The solution is not very complicated, you will be able to figure out the solution quite easily by looking at the error message.

When smartview parses the xml to get: GetFormSlice as:

<res_GetFormSlice><properties massAllocate="0" gridSpreader="0" cellsURLs="0"/><name id=<FrmId> displayName=<FrmName>/><grid>

Here: FrmId is the Object_id of the from
          FrmName is Object_Name associated with that id


Lets look at the data form form Planning web:



Its opening fine.

When I open the same form, using the same user from Smart View:



If you enable logs of smart view:
[SVC] [NOTIFICATION:4] [SVC7257] [SVC] [ecid: 00iS34R^PbnFw0zxzP0AJz21HkE0j6YyS0002^g000000,0] Log Message Displa&y|Information|Warnings|Errors|None|Extended Info [[Start logging]]

[SVC] [ERROR:1] [SVC60000] [SVC] [ecid: 00iS34T^Ln2Fw0zxzP0AJz21HkE0j6YyS0002^g000000,0] The form /Forms/Workforce/Test Old/Existing Employees Status is invalid.

If you try to capture network packets:
<exception errcode="60000" type="error"><desc>The form /Forms/Workforce/Test Old/Existing Employees Status is invalid.</desc></exception>


All you need to do is to get rid of / in the data form, this is making smartview to look for a Test Old Folder and under which its looking for Existing Employees Status form.

But when we access the same from planning web or workspace:

<script>setHeaderTitleInWs('Test Old/Existing Employees Status')</script><script>setCurrentPageLink('http://Server:19000/workspace/index.jsp?module=HyperionPlanning.planning&amp;sourceApp=workfrce&amp;moduleToLoad=%2fWEB-INF%2ftaskflows%2fenterdata%2fenterdata.xml%23enterdata&amp;currView=org&amp;formId=52247&amp;Application=workfrce');</script>

Here is loading the form on the basis of formId and taking the Form name in title SetHeaderTitleInWS so it working fine from web.

Cheers..!!
Rahul S.





Comments

Popular posts from this blog

Multiple Navigation Flows are Active

The Member Does Not Exists For The Specified Cube

"Smart View handled an unknown exception thrown by Microsoft Office" Error on Vista, Windows 7, Windows 2008