Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ReportNet SDK date format type for parameters

Status
Not open for further replies.

DavidAKoontz

Programmer
Dec 23, 2004
5
US
Hi all,

I am a Java programmer - I got this ReportNet SDK droped on my desk, and was asked to write a facde service to the ReportNet server. My service will receive XML request and then call the ReportNet SDK to run a report get the results and send it back to the caller.

I've got all this working but now the details need help. When I pass a date as a parameter to the report it doesn't work. I get back a prompt for the date. Apparently ReportNet doesn't understand that I tried to give it a date in the parameter, perhaps it want's some other date format.

I've tried several '10/14/2004' 'Feb 14 2004' etc, but there not working.

How do I pass a date via a parameter in the SDK?
What format is expected?
Are there data types associated with parameters?
Is this info in a manual anywhere (I've looked)?

Thanks for the help

David

 
hi david

the date format is YYYY-MM-DDTHH:MI:SS.SSS eg.2005-01-01T10:30:00.000

NJoy
Raj
 
Thanks,

That 'T' as a delimiter is quite the trick!

Is that documented some where? I couldn't find it in the ReportNet PDF manuals.
 
Hi David,
I was desparately looking for someone who could help me with an SDK project I have on my hand. I have a website that my users need to authenticate themselves to get in. One of the pages has the link to the Cognos Connection page i.e. Now they do not want to re-enter their login info because they have done it so once already while logging into the website. How do I pass on the login credentials to the Cognos Connection Portal. I know that We can use SDK but I have never used it before. Where should I start? Can you please help me!!

Thank you,
Swetab Sharma.
 
Hello Swetab,

You really should start a new thread with your question - that is how these forums work best. If you do you may get a much better answer than you will get from just me.

Disclaimer - I'm not very knowledgable in ReportNet - it just got droped on my desk a month ago.

If you have the SDK - I assume you have the manuals (in PDF) look for the "Getting Started" guide (they have very poor names on the file system 'dg_fm_sdk.pdf'). Turn to page 25, 'Example - Log On to ReportNet'. This example gives you the 'quickLogon' method, you pass it your credentials (username/pw) and it authenticates to the server.

If you want expert help with coding etc. I can suggest a consultant that we hired to help with ReportNet, Dariusz (Darek) Danielewski with Brightstar Partners, Inc 888 915 6200 ext 702. Tell him David from GMAC in Winston-Salem sent you.

I hope that get's you started - Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top