Nothing shows up in stock quote web part
Last Post 18 May 2007 06:30 AM by Jennifer Davis. 38 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Vikas TambdeUser is Offline
New Member
New Member
Posts:3

--
07 Feb 2007 10:48 AM

    The stock quptte web part was installed on the MOSS 2007 server. I can succesfully add it to a page but then there is no information displayed. I changed the stock symbols with no  effect.

    Please advise. Also, please advise to add multiple stock quotes. The information in the install.txt is insufficient. I need to know what separators to use for multiple stock symbol quotes.

    Thanks,
    Vikas

    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    07 Feb 2007 12:10 PM

    Ahh, sorry we are working on the full PDF for documentation right now.

    Use these symbols within the template:

    Available Symbols
    $(StockSymbol)
    $(LastTradePrice)
    $(LastTradeDate)
    $(LastTradeTime)
    $(PriceChange)
    $(DayOpen)
    $(DayHigh)
    $(DayLow)
    $(Volume)
    $(MarketCap)
    $(PrevClose)
    $(PercentChange)
    $(52WeekRange)
    $(EPS)
    $(PE)
    $(CompanyName)

    That is what needs to be in the template to reference any stocks.

    The list of stocks needs to be comma separated

    i.e.
    MSFT, IBM

    would display the template (with those tokens above) for the stock symbols MSFT and IBM.

    Nathan HandberryUser is Offline
    New Member
    New Member
    Posts:5

    --
    07 Feb 2007 02:09 PM
    I changed the stock template to $(StockSymbol) and left the Stock Symbols as MSFT and still nothing shows up.

    Is there anything else that needs to be changed to make it display the stock info?

    When will the pdf be available?

    Thanks,
    Nathan
    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    07 Feb 2007 02:33 PM
    Ummm. Is the site behind a major firewall or anything? Does it display a header/footer and so forth?

    I just included two screenshots on the main web part page and will list the demonstrations of what was used within the web part settings in a text file shortly.


    You don't have to display stock information for multiple stocks if you don't want to - you can use the module to just display stock information for just one particular stock:

     

    Stock Information for $(StockSymbol) as of $(LastTradeDate) 

     

    Last Trade:    $(LastTradePrice)
    Trade Time: $(LastTradeTime)
    Change: $(PriceChange) ($(PercentChange))
    Prev Close: $(PrevClose)
    Day Open: $(DayOpen)
    Days Range: $(DayLow) - $(DayHigh)
    52 Week Range: $(52WeekRange)


    George GeorgievUser is Offline
    New Member
    New Member
    Posts:3

    --
    07 Feb 2007 07:23 PM
    Try to put it in the GAC.
    Vikas TambdeUser is Offline
    New Member
    New Member
    Posts:3

    --
    08 Feb 2007 07:51 AM

    Thanks for the help. I can display the quotes as I wanted but I see in the main page of the web part you have formatted the display with bold fonts, color etc. How do I achieve it?

    Thanks,
    Vikas

    Nathan HandberryUser is Offline
    New Member
    New Member
    Posts:5

    --
    08 Feb 2007 08:35 AM

    I think you are right with the firewall.  It will display the header and footer, but nothing in the stock template.

     

    I was a little confused at first because on the same page I have other web parts:

    One is an image web part that points to an external url to get an updated stock image.

    One is an RSS feed from Reuters

     

    I'm guessing that the DataSprings StockQuote webpart utilizes a different port than these web parts.  When I remote into the box hosting SharePoint I do not have access so it is locked down pretty tightly.

     

    Thanks,

    Nathan 

    Nathan HandberryUser is Offline
    New Member
    New Member
    Posts:5

    --
    08 Feb 2007 08:36 AM

    I meant when I remote into the box I do not have access to the internet.

     

    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    08 Feb 2007 12:28 PM

    Oh. Well part of the way the web part operates is that it has to have access to the internet. If the web part (or box the Sharepoint site is on) doesn't have access to the internet then it can't get accurate and up to date stock information.

    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    08 Feb 2007 12:28 PM
    Also, we hope to change the area when you manage the templates to that you can use a Rich Text Editor. Right now its plain text but it allows for HTML so thats how you make it bold, change the fonts, etc...
    Nathan HandberryUser is Offline
    New Member
    New Member
    Posts:5

    --
    12 Feb 2007 12:28 PM

    Evidently the box has internet access, just not through a browser.  It is working today and I didn't change anything, so I'm all good now.

     

    Thanks,

    Nathan

    Nathan HandberryUser is Offline
    New Member
    New Member
    Posts:5

    --
    12 Feb 2007 12:49 PM

    How do you make negative values show in red and positive values show in green?

     

    Thanks,

    Nathan

    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    12 Feb 2007 02:02 PM
    Hi. Not yet a feature but one we are looking to add right away. We are thinking this will either be done with additional tokens that you can use (i.e. $(StockPriceHighlight)) which will determine if its a positive or negative value and then offering you the ability within properties to set the positive color and negative color (in your case red and green).

    Merlin MartelUser is Offline
    New Member
    New Member
    Posts:2

    --
    13 Feb 2007 09:26 AM
    My stocksymbol doesn't not work, but others work. The one I use is TRZ.A and it's register at TSX. Is that a problem that it's only register at TSX ?

    thx
    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    13 Feb 2007 09:36 AM
    Hmmm, Whats the name of the company?

    Try: TRZ-A.TO

    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    13 Feb 2007 09:38 AM

    Both TSX and TRZ-A.TO work for me and they are two different companies. When I went to go look up TRZ-A it automatically defaulted to TRZ-A.TO so hopefully that is what you are trying to use as one of the stock symbols within the part?

    Merlin MartelUser is Offline
    New Member
    New Member
    Posts:2

    --
    13 Feb 2007 10:15 AM
    It works !

    On the web site of TSX they write TRZ.A and not TRX-A.

    Is the *.TO for "Toronto" ?

    thx
    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    13 Feb 2007 12:35 PM
    I am guessing so. That is just what it defaulted when I went to finance.yahoo.com so I assumed that was it. Glad you go it working.

    Any other comments on the web part? We are hoping to add some more enhancements soon.

    John GouldUser is Offline
    New Member
    New Member
    Posts:1

    --
    22 Feb 2007 10:21 AM
    I can't seem to be able to get this to work. I placed my MOSS server outside the firewall (in a DMZ) and it still doesn't show stocks. It shows the header & footer, but anything in the stock template does not show up. I tried the stock symbols listed above, along with MSFT, GTW & APPL. No dice.
    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    22 Feb 2007 10:51 AM
    So what does your template look like? Have you confirmed from the MOSS Server that you can connect to outside URLS (say maybe use an IFRAME within MOSS or something?).
    Riju KUser is Offline
    New Member
    New Member
    Posts:2

    --
    07 Mar 2007 09:32 PM
    Same to me too. I put my MOSS outside firewall, still no luck. I am using MSFT and $(StockSymbol) on template. Am i missing anything ?
    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    09 Mar 2007 10:40 AM
    This is the web service that the stock quotes web part is hitting (at least during the beta release). Make sure from your Sharepoint Server that you can hit this web service:

    http://www.betasprings.com/dataspri...earch.asmx

    Beyond hitting that you might run into issues for Sharepoint security (maybe hitting external web services?)

    -Chad

    Riju KUser is Offline
    New Member
    New Member
    Posts:2

    --
    12 Mar 2007 01:09 AM
    ok.. it worked... I had to add it to GAC.. thanks a lot
    Bill HandUser is Offline
    New Member
    New Member
    Posts:1

    --
    16 Apr 2007 09:07 AM
    I have done all of the above and I still can't see anything. How is the setup documentation coming along?
    Jennifer DavisUser is Offline
    New Member
    New Member
    Posts:2

    --
    15 May 2007 09:13 AM

    I am also having problems getting any stock information to appear.  I have other parts on the site that are crossing the firewall and work fine.  Can you give more specific information on how this web part works?

    Thanks~

    Bob McCambridgeUser is Offline
    New Member
    New Member
    Posts:8

    --
    17 May 2007 02:38 AM

    I too am having issues with stocks showing. I have done everything here and still nothing. Anything on the doc yet? Is this project dead?

    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    17 May 2007 06:29 AM
    No, can you provide a few more details on when you get the error. For example, does it show up in the list? Can you actually add the web part to the page? Can you manage the settings but just not get the stocks to show up and have you already added a template?
    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    17 May 2007 06:30 AM
    Also, from your server can you hit this web service: http://www.betasprings.com/dataspri...earch.asmx

    Bob McCambridgeUser is Offline
    New Member
    New Member
    Posts:8

    --
    17 May 2007 08:46 AM
    Posted By host on 05/17/2007 8:29 AM
    No, can you provide a few more details on when you get the error. For example, does it show up in the list? Can you actually add the web part to the page? Can you manage the settings but just not get the stocks to show up and have you already added a template?

     

    Yes it shows on the list and I used your template from here > http://www.datasprings.com/Products...fault.aspx

    and yes I can manage the settings and add the web part and lastly I can access the site you refer to above from the MOSS server.

    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    17 May 2007 09:04 AM

    Hmmm... Well thats not very fun is it. That should be it, as far as I know it should also be able to run in minimal trust. The web part just connects to that web service to get the stock information.

    One thing to check, change this line your web.config:

    From:
     
      
    To:
     
      
    Not that you should have to set the trust to full, just trying to see if this makes a difference for debugging the issue.

    From the posts on here it doesn't seem like you are the only one having this problem, just trying to figure out why. Since you are already working with the web part and have the ability to setup the template and so forth I would say the problem is connecting to the web service from WSS/MOSS?

    -Chad


    -Chad

    Bob McCambridgeUser is Offline
    New Member
    New Member
    Posts:8

    --
    17 May 2007 09:10 AM
    Posted By host on 05/17/2007 11:04 AM

    Hmmm... Well thats not very fun is it. That should be it, as far as I know it should also be able to run in minimal trust. The web part just connects to that web service to get the stock information.

    One thing to check, change this line your web.config:

    From:
     
      
    To:
     
      
    Not that you should have to set the trust to full, just trying to see if this makes a difference for debugging the issue.

    From the posts on here it doesn't seem like you are the only one having this problem, just trying to figure out why. Since you are already working with the web part and have the ability to setup the template and so forth I would say the problem is connecting to the web service from WSS/MOSS?

    -Chad


    -Chad

    Chad,

    You have missing text in your post. I don't see any problems connecting to the web service unless this is looking into a specific port that I am not aware of?

    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    17 May 2007 09:30 AM
    Sorry, I don't think it is allowing my script tags, ill try and fix this.

    Basically I was suggesting that you change the line in the web.config

    trust level="WSS_Minimal" originUrl=""

    To:
    trust level="Full" originUrl=""

    just to see if this had any effect on it. It shouldn't require full trust but just for testing.

    No, its in port 80 so that shouldn't be an issue, just connecting to the web service on that URL.


    Bob McCambridgeUser is Offline
    New Member
    New Member
    Posts:8

    --
    17 May 2007 09:56 AM

    I already have it set to Full...thx.

    Chad NashUser is Offline
    Senior Member
    Senior Member
    Posts:5260

    --
    17 May 2007 10:47 AM
    K. Does the web part show your template at all. In other words, does it show the areas that are not pulling in values. For example, compared to http://sharepointdemo.datasprings.com does it show the other areas of the template that are not the 'Tokens'? Or is it just blank?

    Bob McCambridgeUser is Offline
    New Member
    New Member
    Posts:8

    --
    18 May 2007 01:27 AM

    Posted By host on 05/17/2007 12:47 PM
    K. Does the web part show your template at all. In other words, does it show the areas that are not pulling in values. For example, compared to http://sharepointdemo.datasprings.com does it show the other areas of the template that are not the 'Tokens'? Or is it just blank?

     

    It's just blank.

     

    Bob McCambridgeUser is Offline
    New Member
    New Member
    Posts:8

    --
    18 May 2007 01:44 AM

    Actually it just shows this:

    System.NullReferenceException: Object reference not set to an instance of an object. at StockQuotes.StockQuotes.RenderWebPart(HtmlTextWriter output)

     

    It appears you haven't declared a variable for an object thus the Null error?

    Bob McCambridgeUser is Offline
    New Member
    New Member
    Posts:8

    --
    18 May 2007 01:54 AM
    Forget that last...the page is blank
    Bob McCambridgeUser is Offline
    New Member
    New Member
    Posts:8

    --
    18 May 2007 03:30 AM

    Ok, I got this to work. It appears that when I viewed the template in an editor I used the wrap to view it then copied and pasted. When I undid the wrap and then copied and pasted it now it works...strange.

    Jennifer DavisUser is Offline
    New Member
    New Member
    Posts:2

    --
    18 May 2007 06:30 AM

    When I set the trust level to full the stock quote web part started working for me.  Thanks! Jennifer



    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi