Intranet Journal

Go Back   IT Management Forum > Intranet Journal

Intranet Journal The new discussion forum for Intranet Journal readers. Leave comments and questions for IJ authors. Suggest story ideas and provide feedback.

Reply
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 15 votes, 5.00 average. Display Modes
  #16 (permalink)  
Old 11-01-2005, 11:45 AM
pschaeflein pschaeflein is offline
Registered User
 
Join Date: Jan 2005
Location: Chicago, IL
Posts: 55
The preview pane in FrontPage will not run client-side script.

Regarding the error in the browser, at what step did that occur?
Reply With Quote
  #17 (permalink)  
Old 11-03-2005, 04:16 AM
Carol Carol is offline
Registered User
 
Join Date: Nov 2005
Posts: 2
Hi Paul,
I ran through the example again from scratch and now it works in the browser. Thanks for your time.

Carol

Last edited by Carol; 11-03-2005 at 08:57 AM.
Reply With Quote
  #18 (permalink)  
Old 11-20-2005, 06:19 PM
manfredma manfredma is offline
Registered User
 
Join Date: Nov 2005
Posts: 4
Question about the stored procedure from SharePoint content database

Hi,

I happened to visit Internet Journal - > Problem with Searchable phone directory.

It is very helpful. Now I had a question and wish you could help me.

My question:

When I use the stored procedure from SharePoint content database rather than Northwind (they both are in the same Database server), it does not work while it works in Northwind database well.

When I am trying to 'Show data' from Dataview in Frontpage2003, it gives me error message:

'The Data Source does not contain valid XML data'. The stored procedure works in SQL Query.

Could you help me out?

Thank you,

Fudong

fudong_ma@yahoo.ca
Reply With Quote
  #19 (permalink)  
Old 11-21-2005, 08:43 AM
pschaeflein pschaeflein is offline
Registered User
 
Join Date: Jan 2005
Location: Chicago, IL
Posts: 55
The Show Data option in FrontPage does not send parameters to the stored procedure. While in development, I would change the sproc to output some data without procedures. Then, when the development is finished, change the sproc back to input parameters.
Reply With Quote
  #20 (permalink)  
Old 11-25-2005, 12:58 PM
Olga Olga is offline
Registered User
 
Join Date: Nov 2005
Posts: 1
Red face The same problem! Please help!

Hello all,

I found "Building a Searchable Phone Directory with Windows SharePoint Services " article and found that it is what I need for our custom solution but I experience the same problem as mentioned in this thread.

I get
status: success
PassThrough_DataSet:

I tried to limit result, changed stored procedure to not accept parameters but nothing helped me so far.
I have enabled needed services in sharepoint and I see that SQL Profiler shows the correct line with parameters and it works for analyzer. Data view web part also shows records in case no parameter needed for stored procedure.
But sharepoint web part doesn't want to show records set in case custom query contains parameters for stored procedure N'::someparameter1::', N'::someparameter2::'.
Please, could you tell how you managed this?

Thanks a lot!
Olga
Reply With Quote
  #21 (permalink)  
Old 11-29-2005, 04:17 PM
manfredma manfredma is offline
Registered User
 
Join Date: Nov 2005
Posts: 4
More than 5 columns in search result part

Hi Paul,

If I have more than 5 columns, ie, 6 columns in search result part, say, I have office, email etc. However I tried, the search result part only show me 5 columns, what's wrong?

Fudong
Reply With Quote
  #22 (permalink)  
Old 11-29-2005, 04:26 PM
manfredma manfredma is offline
Registered User
 
Join Date: Nov 2005
Posts: 4
Display only after a search is clicked

However, I'm still not so clear about the first question (How to set it up to display only after a search is clicked). I tried, still have problem.

Anyone can help? Thanks.

Fudong
-------------------------------------------------------------------------------
Quote:
Originally Posted by teamcompete
well i went back through and set up my table to be something similar to the northwind table with a last name and first name column and the search works find.

there are 3 other things i would like to know (damn i am greedy)

1- how to set it up so that when the user goes to the directory page it doesnt display the entire contents of the list. I would like the results webpart to display only after a search is made.

2- how to set up an additional search field such as "office"

3- how to get results to open into a new window.

if you can answer any of these it would be great... even better if you could touch on them all.
Reply With Quote
  #23 (permalink)  
Old 11-30-2005, 10:13 AM
pschaeflein pschaeflein is offline
Registered User
 
Join Date: Jan 2005
Location: Chicago, IL
Posts: 55
Olga,

I can't be sure without seeing your site, but it sounds like the connection between the form and the data view is not quite right.
Reply With Quote
  #24 (permalink)  
Old 11-30-2005, 10:16 AM
pschaeflein pschaeflein is offline
Registered User
 
Join Date: Jan 2005
Location: Chicago, IL
Posts: 55
Quote:
Originally Posted by manfredma
Hi Paul,

If I have more than 5 columns, ie, 6 columns in search result part, say, I have office, email etc. However I tried, the search result part only show me 5 columns, what's wrong?

Fudong
You have to manually add the columns to the Data View Web Part. You can drag them from the Tool Pane (right side) and drop them on the DVWP.
Reply With Quote
  #25 (permalink)  
Old 11-30-2005, 10:19 AM
pschaeflein pschaeflein is offline
Registered User
 
Join Date: Jan 2005
Location: Chicago, IL
Posts: 55
Quote:
Originally Posted by manfredma
However, I'm still not so clear about the first question (How to set it up to display only after a search is clicked). I tried, still have problem.

Anyone can help? Thanks.

Fudong
-------------------------------------------------------------------------------
I assume you have a stored procedure that selects rows based on input parameters. Temporarily, change the select statement to include all rows. Here is an example.

Original:
SELECT LastName, FirstName, Extension FROM Employees WHERE LastName LIKE @LastName

Modified:
SELECT TOP 10 LastName, FirstName, Extension FROM Employees

Once you have the Data View Web Part displaying correctly, change the stored procedure back to the original.
Reply With Quote
  #26 (permalink)  
Old 11-30-2005, 11:02 AM
manfredma manfredma is offline
Registered User
 
Join Date: Nov 2005
Posts: 4
Thank you very much Paul

Paul,

Your valuable points really helped me out.

Many thanks that I could not express.


Fudong
Reply With Quote
  #27 (permalink)  
Old 02-28-2006, 12:00 PM
stephanny stephanny is offline
Registered User
 
Join Date: Oct 2005
Posts: 2
Unhappy SHAREPOINT Newbie

Hello,

I am all to new to SharePoint. I have been tasked to create a searchable phone directory for my organization. I have read the posted article but I don't understand it. I am not using Sharepoint Services for the portal. All I'm using is Areas because we mostly post documents. Is there a way I can create a phone directory using Sharepoint Server instead of Services? If so, please ...help me...I'm new to this and i don't know much about sharepoint. Thank you.
Reply With Quote
  #28 (permalink)  
Old 03-30-2006, 01:53 AM
nickpark nickpark is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
it works but why do we have to click Clear each time?

Why do you have to press Clear prior to a new search?

Why doesnt the form post a blank value when you delete the text in the Lastname field and type in some text in the firstname field. If you don't press Clear, it just post the Lastname previously entered.

Any solution to this? Because it makes the search unusable.

Thanks.
Reply With Quote
  #29 (permalink)  
Old 03-30-2006, 08:46 AM
pschaeflein pschaeflein is offline
Registered User
 
Join Date: Jan 2005
Location: Chicago, IL
Posts: 55
The form does not actually post to the server. The WebPart communications infrastructure processes the button click.

Why is the Clear button required -- I can't answer. Perhaps a bug in the WebPart communications, perhaps in IE, perhaps a deficiency in javascript...

I disagree with your conclusion. I know of at least 5 installations support thousands of users. In my experience, most users do not perform repeated searches. They search and then navigate elsewhere.
Reply With Quote
  #30 (permalink)  
Old 03-30-2006, 10:06 AM
nickpark nickpark is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
Paul, thanks for the reply.
I will get up to speed with these web parts and the communication infrastructure.

It is a great tutorial though - in about 2 hours I had a database containing regularly updated telephone numbers from our master employee db and a telephone search page! I am appreciative!

i'll try and fix it...
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 02:20 PM.





Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0