Need api help to find URL of document in Filenet Content manageer

Hi ,
I could able to get access Filenet Contentmanager. I got Session/ObjectStore. now I need to find URL location of document/image in content manager. so that i can just display that image on browser instead betting byte[] of content and draw on screen.
this is urgent.. pls help me..
thanks in advance

lkb3 wrote:
..Can anyone tell me why this is not returning the entire line?That is not the behavior I see here. An SSCCE (http://pscode.org/sscce.html) based on your snippet*.
// <applet code='WhereAmIApplet' width='500' height='100'></applet>
import javax.swing.*;
public class WhereAmIApplet extends JApplet {
    public void init() {
        String completeURL = getDocumentBase().toString();
        add( new JTextArea(
            completeURL +
            "\n" +
            System.getProperty("java.vm.version")) );
}Output from 3 runs.
From TextPad launching as an applet
file:/D:/projects/numbered/all/158WhereAmIApplet/tp028b26.html
1.6.0-b105
From TextPad launching the source in applet viewer
file:/D:/projects/numbered/all/158WhereAmIApplet/WhereAmIApplet.java
1.6.0-b105
From FF, using an applet.html
file:/D:/projects/numbered/all/158WhereAmIApplet/applet.html
19.0-b09* BTW:
1) When posting code, code snippets, XML/HTML or input/output, please use the code tags as described on the 'sticky post' at the top of the forum thread listing - those posts are there for a reason.
2) For better help sooner, post an SSCCE. I might not have had the motivation to write what you had not bothered to add.
Edit 3) Applets are not easy to develop/debug. Someone who is 'New to Java' should probably not be attempting applet development.
Edited by: Andrew Thompson on Feb 15, 2011 5:47 PM

Similar Messages

  • Need a Help in finding the start Date and End Date of a week

    Dear All,
    I need a help,
    I have a date for eg,05-08-2009 (Wednesday). i need to get the week's start date and week's end date.
    Week start date in my region is SATURDAY and week end date is FRIDAY .
    So for my given input it should return start date as 01-08-2009 (Saturday )and end date as 07-08-2009 (Friday ).
    Thanks,

    Got it, Solved by making a small changes to the above code .
                    SimpleDateFormat sf = new SimpleDateFormat("dd-MMM-yy");
              Calendar cal = Calendar.getInstance(Locale.ENGLISH);
              cal.set(Calendar.DATE, cal.get(GregorianCalendar.DATE));
              cal.set(Calendar.MONTH, cal.get(GregorianCalendar.MONTH));
              cal.set(Calendar.YEAR, cal.get(GregorianCalendar.YEAR));
              if(cal.get(Calendar.DAY_OF_WEEK) != Calendar.SATURDAY) {
                cal.add(Calendar.DATE, -cal.get(Calendar.DAY_OF_WEEK));
              String NewEndDate = sf.format(cal.getTime());
              cal.add(Calendar.DATE, -7);
              String newStartDate = sf.format(cal.getTime());
              System.out.println("New Start date :" +newStartDate);
              System.out.println("New End Date   :" +NewEndDate);Sorry, Dont want to hire any one . Just want to keep my job safe . Any way thanks for your reply .

  • Need some help embedding a url into a swf file

    Hi all
    Thanks to help I have received here, I am almost done with my add banner. I need the banner to link to a url.
    The entire banner needs to be a clickable link for  the duration of the animation. So anyone can click on the banner at any point during the animation, and be brought to my site. I tried putting a frame at the end with getURL("http://www.mybsite", "_blank"); but that doesnt work. When I do that, the banner is not a clickable link, but the site opens automatically  after the animation has played. Cant have that. So after doing some research, the apparent correct way to do this is by making a button, but I do that and the button obsures everything else.
    Any ideas on what I should do?
    Thanks in advance.

    if nothing else is clickable, attached to your main timeline:
    this.onRelease=function(){
    getURL(whatever,"_blank");

  • Need some help in finding a specific stroke weight...

    My preflight program is flagging illustrations with less than a .2 stroke weight and finding these instances can be a reall bugger. The preflight will give the >.2 value so I tried going back to the illustration and creating a line with the offending pt value and selecting same stroke weight but it won't select them. Once I have manually found the small stroke weight I've compared the two strokes for any differences but it won't select even when the color is the same and stroke=default appearance. Once I select the original line and do the select same stroke than it finds the other instances just fine. Anyone know whats going on? I'm using Illustration CS4 and the files are all .ai.
    Any help would be much appreciated!

    For anyone looking at thread I found a quick solution on the forum...
    17. Jan 6, 2009 10:26 AM in response to: (Alesclandre)
    Re: Thousands of paths take a huge time to treat !
    > So what I wanted to do is to force all the paths that were thinner than 0.25 to 0.25. I think I can't do it inside Illustrator. But maybe I'm wrong ?  1. Line Tool: Draw a line. Give it a stroke of .01 pt.
    2. Magic Wand Palette: Set Stroke Weight Tolerance to ".24 pt"
    3. Magic Wand Tool: Click the line you drew in step 1.  Paths with stroke weight of .25 pt or less should be selected.  JET

  • I need some help with finder

    ok so i was clearing my mac to give back to my school at the end of the year.... i know a little early but still..... and well i messed up.
    my mac was locked so i couldnt find the system files and core files and stuff..... but i cracked that right opan and got them and so i found the app finder in the system file for coreservices right and well i changed the finder image and i wanted to change it back.... so i moved the finder app to the desktop and well this is when it started. everything was ok untill i clicked on the desktop in the sidebar of finder.... well i think it crashed and now when i click on finder it says "The application can't be found" and well yeh im F#$@ ..... i cant opan finder,, i cant opan any files, i was lucky i could still opan the internet browser.
    so anyway if anyone could help me that would be nice.... BTW i cant do anything to criticle like dump the hard drive and start over... because this is a school (Government) laptop and well i just cant do something like that. so if anyone can help still plz do i would relly like it

    well yes thats exaxcly what has happaned... i blantantly moved it out of coreservices and onto the desktop.
    but if it was still on my desktop then i would have put it back... (im not that stupid) so that isnt very helpfull .... when i moved it to the desktop and i clicked out of the coreservices file every file on my desktop disapered and i cant opan finder and when i go to opan a file this error code comes up
    "the application finder can't be opaned
    -10810"
    what this means i dont know.
    any idears that are simple???? if not then i wont waste anyones time here and ill go as noondaywitch said "fessing up to your IT dept." so yeh
    thanks to both of you so far who have replyed

  • In need of help to find decent external home network drive !

    Hi,
    I am in need of an external home network drive in either 1 or 2TB form.
    It will be for an imac and macbook pro + ps3 to use.
    I saw this Western Digital one but was not sure how good it is -
    http://www.wdc.com/en/products/products.aspx?id=300
    I would be using it to back up HD final cut pro files a lot as well.
    Please help.
    Cheers

    Personally, I like the WD drives. Daughter has the half TB version of the drive and loves it...works seemlessly with her MBP.

  • Help me find the correct document please!

    (This is a repost - not sure if I posted it in the correct forum before)
    I'm just starting out with Java, on the J2ME platform.
    I've been reading about threads, such as this:
    http://developers.sun.com/techtopics/mobility/midp/articles/threading2/
    where it says:
    The Java runtime associates each live thread with an instance of java.lang.Thread.
    But on my API docs, which I downloaded (can't find them online) the Thread class isn't a HTML link, suggesting it's not part of J2ME. But all the example source code I've seen has it supporting "start", "run" etc.
    The docs I have were downloaded from the Sun site, and are in the same format as the regular J2SE 1.5 does (html files with 3 panes).
    Am i missing something? Where (possibly on a Sun webpage) do I get documentation about Runnable, Thread etc, related to the MIDP2.0 release.

    I'm new to this, but I also had trouble for a while in finding and installing the right drivers. Eventually I got it to work with the link below. Follow the steps and select everything it suggests (I did and it worked for me). You might want to try it and see if it works for you too. Good Luck. http://www.creative.com/language.asp...wnloads/su.asp

  • Needing "search" help to find a video

    Hi, I am looking for a certain virtual video, and with my search, I'm not coming up with anything. So I decided to write and ask if you knew where I could look, or what exactly I should put in the search fields??
    You know how at a gyms "spin class" they have a virtual video for you to watch, where its actually like your biking through whatever is on the screen. I am wondering if there was something I could get on iTunes that is similar to that for walking/ running on the treadmill.
    I know there are websites that sell DVD's online, but that doesn't help when your at a gym and cannot put in a DVD! =)
    Could you please help me?
    Thank you so much!

    smercurio has already asnwered you with good tips. Generally speaking it is not a good idea in C to have the callee allocate memory and return it to the caller. Instead the caller allocates the necessary memory and passes it to the callee to be filled in. The other way around will require the caller to have specific knowledge about the memory management routines used in the callee and make everything rather complicated. In terms of LabVIEW with its own quite different memory management you really get into difficulties if you try to do it backwards.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Need a help to find most suitable AP/Bridge

    Hi,
    I am searching for wireless connectivity for two office premises which is 50m(line of sight) apart from each other, which should also support at least 30Mbps(this is impartive) traffic. Can I use Cisco Small Business Pro AP 541N AP    to accomplish my objective? Alternatively, anyone has a better suggestion other than AP 5400 series?
    Please let  me know.
    Many thanks,
    Amila

    You sure you can't use fibre optic?
    I'd be using a 1250 autonomous AP with directional dish antennae.  You can configure point-to-point bridge.
    Wireless Bridges Point-to-Point Link Configuration Example
    http://www.cisco.com/en/US/customer/tech/tk722/tk809/technologies_configuration_example09186a008058f53e.shtml
    Don't forget to rate useful posts.  Thanks.

  • Need a help for finding best online tutorial site

    Could you please post some best PLSQL online tutorial site .
    Advance thanks to all of you.

    Please check this site
    Always good to refer oracle official site for reference.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/toc.htm
    ~Lokanath

  • Posted fixes do not help me find any way to show remote content. updated to 31.4 still not able. Any surefire fixes known?

    I have tried disabled add ons. changing security settings to "Allow all remote content", exceptions, etc. I have updated to 31.4. I can not make any of the recommended fixes work. Before I give up and try a new program can anyone PLEASE suggest anything new. Thanks

    Your best bet is try windows safe mode with networking. I have seen anti virus programs and some firewalls block remote images. They will not be able to do that in safe mode, so trying it is a good diagnostic.

  • Need Help in Finding out IDS, Firewall, Router, Switch series for Datacenter

    Hii All,
    Greetings!!!
    Iam workin on project for Datacenter. I need ur help in finding me out the exact Router, Switch, Firewall & IDS series based on my attached complete technical specification.
    pls find attched tech info for router, switch, firewall & IDS. Ur early response will be appreciated.
    Thanku in advance 4 ur kind cooperation & help.
    Looking forward 4 ur prompt response.
    Brgds
    Arif..

    For the router/switch I would suggest to evaluate the 6500.
    For firewall the ASA5540, 5550 and 5580.
    For IDS 42.40, 42.55 and higher.
    I hope it helps.
    PK

  • Need Help in finding out Router, Switch, firewall n IDS 4 Datacentre

    Hii All,
    Greetings!!!
    Iam workin on project for Datacenter. I need ur help in finding me out the exact Router, Switch, Firewall & IDS series based on my attached complete technical specification.
    pls find attched tech info for router, switch, firewall & IDS. Ur prompt respnse will be appreciated..
    Thanku in advance 4 ur kind cooperation & help.
    Looking forward 4 ur prompt response.
    Brgds
    Arif....

    The write-up more sounds like it's an 7206VXR router, a 6500E with Sup720.
    FW/ASA/PIX is an ASA 5510
    Please don't forget to rate useful posts.  Thanks.

  • Need help for publishing web intelligence document (universe) into InfoView

    Post Author: mirage
    CA Forum: Publishing
    Hello all,
    I need help for publishing web intelligence document (universe) into InfoView.
    can't find this information in Business Objects Designer's Guide and in Business Objects Administrator Guide.
    Can somebody give short instructions how can I do it?
    Regards, Slava

    If the change between the 2 types of data has to happen dynamically during run time them
    1. Use 2 dataproviders
         a. Current
         b. Historic
    2. Merge the 2 dimensions
    3. Use Webi variable to switch between the measure of the current and historic universe
    Ex  if [year] < 2010 then historic.[expense] else current.[expense]
    Hope this helps,
    Divya

  • Where can I find the Java Document of com.sap.aii.af.ra.ms.api.Message

    Com.sap.aii.af.ra.ms.api.Message is class that would be used in Adapter Module development, but I found I can't find the document of it in neither Adapter Module related document nor XI Mapping related document.
    Anyone can help me?

    YiNing,
    Did you check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/87/3ef4403ae3db12e10000000a155106/content.htm
    Does it help? Also did you look into the Java Docs Section,
    https://help.sap.com/javadocs/index.html
    Regards
    Bhavesh

Maybe you are looking for