Hi David, If TBE sees a URI that ends with a file extension for an image (i.e., .jpg, .ping, etc.) then TBE will attempt to load the image at that URL; and if the image cannot be loaded, then TBE will merely display the URI. In the latter case, if the property is a datatype property then TBE will simply display the URI as text; however, if the property is an object property (as is hasScreenCapture), then TBE will display the URI as if it were the URI of another resource (and clicking the link would redirect the form to that resource).
[[ When I click on the blue highlighted path, a form pops up without displaying the image. ]] Based on my description above, it seems that TBE is unable to load the image. [[ I need to do this for pdfs and word docs as well. ]] If the range of hasDoc is xsd:anyURI, then clicking the URL will open up a separate browser window/tab to that URL. (But again, if the URI appears to be for a file, TBE will try to load that image.) On Wed, Sep 14, 2011 at 2:29 PM, [email protected] < [email protected]> wrote: > I've created project Cyber.org and then several directories under that > project to store jpg, pdf and word docs. The intent is to access them > through an TPLive application. In TBC-ME, I ctreated two properties. > One for images then the other for the pdf and word doc. > hasScreenCapture is an object property The hasDoc is an object > property with a range of xsd:anyURI. > > The path value of the hasScreenCapture property is <http://Cyber.org/ > CyberTools/docs/Screencapture/PRA.JPG> > > Within TBC-ME I can see the globe and when I click on it the jpg > appears. > > I've deployed the project in TBLive. When I click on the data instance > that has the hasScreenCapture poperty I see the following value: > http://Cyber.org/CyberTools/docs/Screencapture/PRA.JPG > > When I click on the blue highlighted path, a form pops up without > displaying the image. > > I need to do this for pdfs and word docs as well. > > -- > You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include TopBraid > Composer, > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/topbraid-users?hl=en > -- Willie Milnor Sr. Semantic Solutions Developer TopQuadrant, Inc. 330 John Carlyle Street Suite 180 Alexandria, VA 22314 703.299.9330 www.topquadrant.com <http://www.topquadrant.com> Cell: 410.971.7788 -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
