Hello,
we are currently trying to migrate from Perspectives to PAfE and we have an issue with integrated login in our planning masks.
Is there a way to automatically log in the user that opens a PAfE workbook (custom report) so that the user doesn't have to manually log in to each TM1 Server?
I've found this bit of code that does the job for security mode 1:
bResult = CognosOfficeAutomationObject.Logon ("http://pawserver.domain.com", "admin","#####", "pawserver/Planning Sample")
but since we do not store any passwords and want the user to logon with security mode 3 (Integrated Windows Authentication) I cannot parse a password.
Also there are multiple planning masks and multiple TM1 servers we want to create the connection in the Excel "Open" event (the workbook knows which TM1 server is the correct one, the user might not).
How do I do this? Simply leaving the password empty and using the windows user (Unique ID) doesn't work
bResult = CognosOfficeAutomationObject.Logon ("http://pawserver.domain.com", "USER@DOMAIN", , "pawserver/Planning Sample")
Any suggestions?
Thanks
------------------------------
Matthias Mazaj
------------------------------
#PlanningAnalyticswithWatson