Hi,

I am getting a SpreadsheetEntry using a spread sheet key, username and
password, given by the user. And I am supposed to send back the HTML
Link for spreadsheet for that user. I am using the following code for
the same.

SpreadsheetEntry sEntry = getSpreadsheetEntry(key, username,
password);
return sEntry.getHtmlLink().getHref();

But the link returned is in the following format
"https://spreadsheets.google.com/ccc?
key=t89VrzxxRB2p9uLJ61qFQnA&hl=en#gid=0"

When I try to access this spreadsheet its not working

But what I am expecting is (The desired output)
"https://spreadsheets.google.com/a/cordys.com/ccc?
key=t89VrzxxRB2p9uLJ61qFQnA&hl=en#gid=0"

What I need to do, so that I will get complete URL including domain
information in the HTML Link?


Thanks & Regards,
Sarath

Reply via email to