Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds


  Asked By: Kara    Date: Oct 09    Category: Sharepoint    Views: 414

has anyone managed to write webparts or asp files which use the functions in
tahoeutils.asp, I'm trying to use getworkspaceurl() with various error
messages type mismatch etc...



5 Answers Found

Answer #1    Answered By: Perla Vang     Answered On: Oct 09

getworkspaceurl works for me without any problems. and i use it in every

whats the code that give the error.

Answer #2    Answered By: Sandra Alexander     Answered On: Oct 09

I'm trying to assign it to a variable. To store in an include file to
remove hard coded links in asp  files.
But when I say.

dim strurl = Getworkspaceurl()
I get mismatch errors.

Answer #3    Answered By: Nalin Rao     Answered On: Oct 09

try this:
dim strurl

note! this will only work with VBS webparts. dont try to use it in html

Answer #4    Answered By: Thomas Davis     Answered On: Oct 09

either blank when i try and write  it out or mismatch errors.

Answer #5    Answered By: Dominic Davis     Answered On: Oct 09

the only possible thing is that you are not using it in a VBS webpart!.

create a new VBS webpart and write  in it the following:
Function getContent(xmlndPart)
dim strWorkspaceUrl
strWorkspaceUrl= getworkspaceUrl
getContent="<p><font size=5>" & strWorkspaceUrl & "</font></p>"
end function

Save it and see if it shows.

Didn't find what you were looking for? Find more on Getworkspaceurl() Or get search suggestion and latest updates.

Related Topics:



Related Post