How do you reference a valueObject located in main to a custom component created in Catalyst?

Hello,
I have been working with the Catalyst Beta 2 / Flash Builder beta trying to create a photogallery and have hit a little bit of a snag, try as I might I can't seem to find the answer anywhere. I am still new to Flex so please excuse me if this is a basic question, I have been trying to understand more about Flex to make my designs in Catalyst better.
I found this video on Adobe TV: http://tv.adobe.com/watch/rich-internet-applications-101/ria-stepbystep-16-binding-a-data- service-to-flash-builder-components/
It's wonderful and I have the datalist I created in Catalyst working with the XML file I generated but I designed my little photogallery a bit diffrent, I created a Custom Component in Catalyst so that when you click an item on the DataList it pop's up a little screen with a larger photo in on it, rather then having an image in the main application. Now my problem seems to be that I can't refrence the valueObject I created with the wizard as it's in my Main.mxml file, is there a way to refrence it from my Custom Component so the larger image will display? Is there a way to let the component know which item on the dataList in the main application is selected and display the correct image?
I should also say I really enjoy working with the Beta for both Flash Builder / Catalyst, thanks for the hard work!
Thanks for the help,
Chris

I am afraid you cannot bind to static properties in Windows Store Apps. It is simply not supported.
You could create a proxy class that exposes the static command property and bind to this property of an instance of the proxy object:
http://stackoverflow.com/questions/14186175/bind-to-a-static-field-in-windows-8-xaml
http://stackoverflow.com/questions/4708711/how-can-i-use-the-xstatic-extension-for-phone7-silverlight-apps
You will of course have to create an instance of the proxy object. There is no way around this.
Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question.

Similar Messages

  • How do you reference a Formular Object on a Crystal Report using Java

    Hi all,
    I am trying to reference an object on my report which contains a Formula field.
    I have read the following 2 threads, but they refer to textObjects:
    [How do you reference a textObject on a Crystal report using Java|Re: How do you reference a textObject on a Crystal report using Java?]
    [Changing the text of ITextObject programatically|Re: Changing the text of ITextObject programatically]
    But I cannot even get those to work. I can reference a object which refers to a database field but as soon as I try
    reference a textObject or reportObject I just get a NULL variable.
    Below is the code I am useing
    IReportObject dbField = reportClientDocument.getReportDefController().findObjectByName("BOB1");
    IReportObject textBob = reportClientDocument.getReportDefController().findObjectByName("BOB2");
    "BOB1" is the name of my DB field Object, and "BOB2" can be a Text box or a Formula item and I just get nothing.
    I have just tested it with a FieldHeadingObject and that returns a valid object, so clearly I am going about this the wrong way
    for objects I place on the reports which are not driven by the database items.
    Ultimately what I want to do is reference an object in the Report Footer which will contain the RecordCount of the number of
    records contained in the report, which I am them going to use to determine if the report holds data,
    if it does I will print it, else ignore it and move on the the next report. I am doing this so that I can at an extra filter to split
    a report up into groups and produce a sinlge PDF for each group instead of one massive PDF containing all the groups.
    So if someone has a solution to any of my problems I would be very greatful, and I dont mind being told Im an idiot and should
    rather do it another way, as long as you supply that other way
    Thanks for the help
    Darren
    Edited by: Darren Jackson on Dec 16, 2009 7:29 PM
    Forgot to add am using CR4Ev2 SP3

    Right I have made some headway.
    Firstly, Im an idiot. I was making changes and setting up test fields on my report, but then when running the app, I had it looking at
    the backup report, which would explain why all the new textbox fields were not being found.
    The stupiditity did force me to delve deep and work out a fair bit of how the reports work, so cant complain too much. BUT, I am still
    not able to return values of Formula fields and formulas extra. Could someone tell me if this is even possible. I get retrieve the formula field
    name, and properties but not its value once the report has been populated. Am I wasting my time?
    Well I will continue dismantling my reports till I find the answer, or someone points me in the right direction.
    If any one is interested this is the code I used to drill down to my text boxes:
    IReportObject recCount = reportClientDocument.getReportDefController().findObjectByName("TB1");
    ITextObject obj_RecCount = (ITextObject) recCount;
    System.out.println(obj_RecCount.getName());
    Paragraphs objP = obj_RecCount.getParagraphs();
    for (int i = 0; i < objP.size(); i++){
         ParagraphElements pE = objP.getParagraph(i).getParagraphElements();
         for (int j = 0;j < pE.size(); j++){
              IParagraphTextElement pEE = (ParagraphTextElement) pE.getParagraphElement(j);
              System.out.println(pEE.getText());
    Cheers

  • TS1314 How do you change the default location address (in My Pictures) of the IPOD Photo Cache ?

    How do you change the default location address (in my pictures) of the IPOD Photo Cache ?

    You do no specifically. It sounds like you are syncing a folder to the iPod. In that case:
    From a Folder on Mac OS X, Windows XP, Windows Vista, or Windows 7
    The iPod Photo Cache will be located in the folder you selected to sync with. 
    Thus, you have to change the location of the folder you sync with.

  • How do I reuse a custom component in Flash Catalyst?

    All-
    I'm sure this is easy, I simply can't figure it out.  I've created a custom component in Flash Catalyst with two states, open and closed.  I'd like to reuse this component in my app with different text assest.  How is this done?  Duplicating the component isn't available in this version...do I need to recreate the whole thing with different text?
    Cheers,
    `me

    If you look in the library panel, there should be an entry for your custom component - probably something like CustomComponent1.mxml. Drag this out onto the artboard to create a new instance of the component.
    In the case of a custom component, you can't change much on the second instance. If you have something like a text input skin though, you can change the text it is displaying for each instance.
    We are working on making this sort of thing easier in the future, so stay tuned

  • How do you stop sharing your location?

    I accidently clicked share location on a contact that has an android phone. i do not want to share my location with this person and I would like to know how to STOP sharing my location. I click the button but nothing happens.

    While in a text message, I clicked the 'Details' link then the ' Send My Location' link. A message appeared in the text window that reads as follows "You started sharing your location with <contact name>. <date and time>
    If I click the 'Details' link again, "Stop Sharing My Location" displays in red ink under the 'LOCATION' section. If I click the "Stop Sharing My Location" link, nothing happens.
    If I go to Privacy/Location Services OR iCloud/ Share My Location, the contacts name appears in my 'FRIENDS' list BUT my 'Share My Location' indicator is off. I click the contact to open their info, then try to click the "Stop Sharing My Location" link from here, and nothing happens again.
    I would like to remove this person all together but there doesn't appear to be a way to remove them.

  • How do you reference a custom command in XAML?

    This is a ridiculously easy thing to do in WPF, but I can't find the analog in Metro. I have several buttons on my frame window. One of the buttons is a toggle to change the view from thumbnails to details.  The commands are global to the application
    and live in a class called 'GlobalCommands'.  Note that the Global Commands are consumed by other classes so there's no way that creating an instance of a command in XAML is going to work.  In WPF, the button would look like this:
    <AppBarButton Command="{x:Static local:GlobalCommands.ChangeView}"
    CommandParameter="Thumbnail"
    Label="Switch View"/>
    However, in Metro, there's no x:Static, no TypeConverters, and IValueConverters only work on bindings, so I'm stumped.  How do you place buttons in applications that have very specific (that is, not derived from the view model) commands?

    I am afraid you cannot bind to static properties in Windows Store Apps. It is simply not supported.
    You could create a proxy class that exposes the static command property and bind to this property of an instance of the proxy object:
    http://stackoverflow.com/questions/14186175/bind-to-a-static-field-in-windows-8-xaml
    http://stackoverflow.com/questions/4708711/how-can-i-use-the-xstatic-extension-for-phone7-silverlight-apps
    You will of course have to create an instance of the proxy object. There is no way around this.
    Please remember to mark helpful posts as answer to close your threads and then start a new thread if you have a new question.

  • How do you load a pdf file to your computer once its been created

    how do you load a pdf file to your computer once its been created

    Hello there,
    Once you have created a PDF file with Acrobat.com, this file will live in your file organizer; if you select the file, you will have the option to download it. You can do this either while viewing the document (by clicking the "Download" button in the top menu bar) or from your organizer (hovering over the file name, you will see a little arrow; click it, and in the resulting menu choose "Download"). In both cases, you will be prompted to choose the location on your computer to which to save the file. Once you have chosen a spot, the file will be saved there.
    Please let me know if you need any more information on this process.
    Best,
    Rebecca

  • How do you reference assembly resources from MP in PowershellGrid Widget script

    Instead of shipping my custom assemblies to a known location on the system center 2012 server in separate files, I'm trying to use assembly resources to do this.  The issue I am having is referencing these assemblies in the script for the PowershellGrid
    widget I am using.
    As suggested in technet answer -
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/e752fb63-0d5f-43e3-a2be-7db54934e29a/how-to-use-attached-to-bundle-dll-resource-in-powershell-module?forum=operationsmanagerauthoring
    I am using this convention -
    $FileResource[Name=”MyResource”]/Path$
    To illustrate what I am using, I've put in an exception to try and return the assembly path -
    throw "Test that the Assembly Path is returned:" + "$FileResource[Name='PaulsMP!DSUtilsTest']/Path$"
    Part of the exception is the following where you can see the Path$ has not been translated -
      [Microsoft.SystemCenter.Visualization.Component.Library.DataProviders.PowershellProvider,
    Microsoft.SystemCenter.Visualization.Component.Library.DataProviders, Version=7.0.5000.0, Culture=neutral,
    PublicKeyToken=31bf3856ad364e35].Test that the Assembly Path is returned:[Name='PaulsMP!DSUtilsTest']/Path$ ---> 
    So the questions are - can these assembly resources be referenced in Powershell grid widget scripts and if so, what is the syntax?
    BTW, my MP resources fragment looks like this - 
    <Resources>
    <Assembly ID="DSUtilsTest" QualifiedName="DSUtilsTest1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" FileName="DSUtilities.dll" Accessibility="Public" HasNullStream="false"
    />
    </Resources>
    Many Thanks,
    Paul  

    Paul,
    I was unable to find info specific to the issue you are hitting, however I've found the following links that I believe can help you:
    http://www.systemcentercentral.com/scom-2012-create-an-mpb-to-deploy-files-using-vsae/
    http://overcast.fehse.ca/2014/08/scom-management-pack-bundles-and-vsae
    hth,
    Jose

  • How to you reference the current page number and total pages in a script?

    I'm trying write a small script to make field invisible when the current page equals the total number of pages, but with no luck.
    Can anyone advise how to do this?
    I've tried various ways to reference my fields, this being the most basic:
    if(pageNumber == totalPages) {
    continuedBase.presence = "invisible";
    // pageNumber has a run time property as "Current Page Number"
    // totalPages has a run time property as "Number of Pages"
    // continuedBase is a text field within the same subform as pageNumber and totalPages
    Thanks for any help offered.
    Russell

    If you are asking how to get the current page and total pages you acn use these commands:
    current page ----- xfa.layout.page(this)
    total pages ------ xfa.layout.pageCount()
    so your code woudl look like this:
    app.alert("The curent page is: " + xfa.layout.page(this));
    app.aler("The total number of pages is: " + xfa.layout.pageCount());
    if(xfa.layout.page(this) == xfa.layout.pageCount()) {
    continuedBase.presence = "invisible";

  • Result set --- can you reference in two locations (jsp and doVIew())

    I need help figuring out what I am doing wrong.
    In my doView() function I am saving a result set
      NamingEnumeration person = details.executeDetails(fullname);I need to reference this result set from my doView method and inside my jsp page, this is why I have stored this inside a session variable.
    //doView() method
    NamingEnumeration person = details.executeDetails(fullname);
    if(person != null){                           
      while(person.hasMore()){
       SearchResult sr = (SearchResult)person.next();
       Attributes attributes = sr.getAttributes();
       Attribute attr = attributes.get("x500UniqueIdentifier");
       if (attr != null) {
        Object val = attr.get();
        byte[] buf = (byte[])val;
        String number = new String(buf);
        person_number = removeLeadingZeros(number);
    person.close();
    session.setAttribute("person", person, PortletSession.PORTLET_SCOPE);     
    //jsp page
    NamingEnumeration results = (NamingEnumeration)renderRequest.getPortletSession().getAttribute("person");
    <% if(results != null){
          while(results.hasMore()){
            SearchResult sr = (SearchResult)results.next();
            Attributes attributes = sr.getAttributes();
            String fullName = attributes.get("fullName").toString();
            String description = attributes.get("description").toString();
            String title = attributes.get("title").toString();
            String mail = attributes.get("mail").toString();
            String eduPersonPrimaryAffiliation = attributes.get("eduPersonPrimaryAffiliation").toString();
            String telephoneNumber = attributes.get("telephoneNumber").toString();
            String postOfficeBox = attributes.get("postOfficeBox").toString();
            String[] Name = fullName.split(":");
            String[] Desc = description.split(":");
            String[] JobTitle = title.split(":");
            String[] Email = mail.split(":");
            String[] Class = eduPersonPrimaryAffiliation.split(":");
            String[] Phone = telephoneNumber.split(":");
            String[] BoxNo = postOfficeBox.split(":");
            %>
                //....................... Bunch of printing information here        
               }//end while
         }//end if
         else{%>
              <div>No results found.</div>
         <%}
          results.close();
    Can you not reference a result set from both of these locations?
    Thanks.

    Hi Gravy Train,
    I'm curious about why you are using 2 loops.   You mentioned one is for monitoring and one is for DAQ....what do you mean by that?   What is the overall goal of this piece of code.   Also, I noticed that you are not closing the task.   Since this is just a subset, I realize you could be closing it in your actual code, but just in case you're not.....it is very important that you close all tasks when you are down acquiring data.
    Best Regards,
    Starla T  

  • How do you reference the main timeline of swf1 from swf2 when swf2 is loaded into swf1?

    on this link          http://kb2.adobe.com/community/publishing/918/cpsid_91887.html
    I found this script, but I can not use it can anyone help me
    // create a variable to reference swf1's main timeline
    var swf1Main_mc:MovieClip;  // this assumes that swf1 is a movieclip.
    // create your listener to ensure this loaded swf has been added to the display list and can therefore obtain a
    // reference to its main timeline (which is always the main timeline of the loading swf).
    this.addEventListener(Event.ADDED_TO_STAGE, initF);
    function initF(e:Event):void{
        swf1Main_mc = MovieClip(this.root);

    You don't make it clear what event finish is for. But let's assume that your MC is being loaded from the clip that you're referring to as root. In the main Document Class of that swf, you'd have
    protected var customSwf:CustomSwf;//customSwf is the Class that defines your functionInSwf1protected function someFunction():void {
         var loader:Loader = new loader();
         loader.contentLoaderInfo.addEventListener(Event.COMPLETE onLoaderLoaded);
         //rest of your loader loading code here
    protected function onLoaderLoaded(e:Event):void {
          //add to display list (you already know how to do, so I'm not writing the code)
         EventDispatcher(e.target).removeEventListener(Event.Complete, onLoaderLoaded);
         //if you had a legitimate need for path (which you don't) in mcExternal, you'd set it like this:
         this.mcExternal.path = LoaderInfo(e.target).content as MovieClip;
          //this is what you actually need to care about to do this correctly
          customSwf = LoaderInfo(e.target).content as CustomSwf;
    Now, the Class that you apply to the library symbol you're using for mcExternal should have code similar to this:
    protected function fEvent(e:Event):void {
         dispatchEvent(new Event('giveYourEventADescriptiveNameBasedOnWhatYoureReallyDoingHere', true));
    back in your main document Class:
    //should probably call from the constructor or somewhere early in the process
    protected function init():void {
         //use your real event name--your code isn't expressive enough I could guess a good name
         addEventListener('giveYourEventADescriptiveNameBasedOnWhatYoureReallyDoingHere', onEventHappened);
    protected function onEventHappened(e:Event):void {
         customSwf.customFunctioninSwf1();
         customSwf.changeVisualState();//let custom swf change alpha and change the frame #
    To the untrained I, this looks like about the same amount of code and slightly more trouble, but changing the design like this will make it much more tolerant of the changes that nearly all clients will want after you've built version 1. mcExternal's code doesn't have to change at all if swf1 changes, and your root Class already knows abotu swf1 anyway, since it's doing the loading, so having it work with it a little more doesn't hurt.
    Moving the change of visual state into your custom swf means that changes in that swf won't affect your main document Class, though you will probably have to recompile the main document unless you go to using an Interface (a topic for another day).

  • How do you reference image files in jsp which becomes a portlet ?

    My portlet is a servlet managing jsp pages. In each of the jsp s, there are image files (*.gif) being referenced. I have placed the image files in .../public_html/WEB-INF/images/ in explorer. In my jsp, I am referencing the image file as
    src="WEB-INF/images/help.gif"
    On deploying my portlet, the image is not being picked up by the portal. Also, on moving the image and modifying the reference to it, I am still getting the same problem.
    Can anyone advise, for my portlet to display the image correctly,
    1) where should I place the image files ?
    2) how should the jsp code reference it ?
    Cheers,
    Tara

    Hi,
    The behaviour you are reporting is an expected behaviour. If you want to include images in your JSP, you need to specify the complete absolute URL to the image on the midtier as only then can the portal invoke that image.
    Actually, when you specified the relative URL
    WEB-INF/images/help.gif, Oracle9iASPortal actually looks for the image help.gif in the directory structure WEB-INF/lib at its end. As no such file exists, the images are not rendered onto Oracle9iASPortal page.
    So you got to use the following workaround,
    Assuming your provider name is "temp" (deployed using temp.ear) & the image name is "help.gif" which is stored in the htdocs folder inside temp. This image is invoked by help.jsp
    You can get the absolute path of this image as follows:
    Request URL is : http://<host>:<port>/temp/providers/temp
    Request URI is : /temp/providers/temp
    So, Base URL = http://<host>:<port>
    Servlet Path is : /temp/htdocs/help.jsp
    Truncating the Servlet Path to /temp/htdocs & appending this to Base URL should give you
    http://<host>:<port>/temp/htdocs
    which is the directory that contains your image. add image name to this URL to get the absolute p[i]Long postings are being truncated to ~1 kB at this time.

  • Create Expense Report how do you make field 'Start Location' mandatory

    Hi
    We are using travel expenses within ESS and we wish to make the field 'Start location'  mandatory.  This field is on the mileage screen.
    I have checked portal config and when you preview the iview and control/right click there is the option to make this field mandatory however this does not work.
    I have checked the IMG config 'Schema and Field Control for the trip schema we are using but when I select the field 'PTRV_UTIL_KMVER-LOC_FROM' and select 'Alternative Display Type' the option 'Entry in field is required' does not become available for use.
    Does anyone know  how to achieve this?
    Many thanks
    Julie

    Hi Julie,
    You have modify the table T706Z1 to make both of this fields mandatory, this is the only          
    way to make the field mandatory. In standard system the fields                
    PTRV_UTIL_KMVER-LOC_FROM and PTRV_UTIL_KMVER-LOC_TO cannot be set to          
    mandatory. In this case you have to do some additional settings in the        
    in the table PTRV_T706Z_FLDS (se16):                                                                               
    PROG: PTRA_WEB_INTERFACE                                                      
    DYNNR: 1800                                                                   
    RDYNNR: WEBE                                                                  
    Regards,
    Raynard

  • How would you reference respective video from diff class?

    Hi. I wanted to get a couple of points of view (if you're willing to look ) on how others would do this because Im not sure where to even start.
    I have a buttons class that puts 9 pictures on the stage and each one represents a different movie and leads to that movie when clicked (or will lead there once I figure out how to reference it to the specific movie).
    I have 9 movies referenced through XML. And I am using flvPlayer. Currenly I can only have one movie loading. I am not sure how to get each one to play upon click of the respective btn.
    Here is some of the code I think is pertinent if figuring how to go about this:
    ProjectOneButtons class
    //I have each picture loaded through an array and each button is waiting for the right code through a Switch statement:
    public function onButtonClick(e:MouseEvent):void {
         var releventImageAray:Array = this["rowOfImages" + MovieClip(e.currentTarget).row];
         var imageWanted:String = relaventImageArray[MovieClip(e.currentTarget).column];
         switch (imageWanted) {
              case "Video1" :
                   //Have not figured out the specific video code in class below
                   //This switch statement continues for the rest of the buttons.
                   //this code works but it just loads one movie and so I don't think this is what I need.
                   projectOneVideos = new projectOneVideos();
                   addChild(projectOneVideos);
                   projectOneVideos.x = 0;
                   projectOneVideos.y = 0;
    Here is the ProjectOneVideos class where the videos are loaded and played:
    package asFiles.projectOne{
         //import statments taken out for post
         public class ProjectOneVideos extends Sprite {
              public var videoX:Number;
              public var videoY:Number;
              public var projectOneVideos:XMLList;
              public var projectOneTotal:Number;
              public var projectOneXML:XML;
              public var xmlLoader:URLLoader;
              public var player:FLVPlayback;
              public var playBtn:VideoPlayBtn;
              public var pauseBtn:VideoPauseBtn;
              public var videoContainer:MovieClip = new MovieClip;
              public function ProjectOneVideos() {
                   xmlLoader = new URLLoader();
                   xmlLoader.load(new URLRequest("projectOneVideos.xml"));
                   xmlLoader.addEventListener(Event.COMPLETE, processXML);
              public function processXML(e:Event):void {
                   projectOneXML = new XML(e.target.data);
                   projectOneVideos = projectOneXML.VIDEO;
                   projectOneTotal = projectOneXML.length();
                   makePlayer();
                   addButtons();
              public function makePlayer():void {
                   player = new FLVPlayback();
                   player.skinBackgroundColor = 0x47ABCB;
                   player.skinBackgroundAlpha = .85;
                   player.x = 40.3;
                   player.y = 220;
                   player.width = 1200;
                   player.height = 594.2;
                   videoContainer.addChild(player);
                   player.addEventListener("complete", backToVideoMenu);
              public function addButtons():void {
                   trace("addButtons initiated");
                   playBtn = new VideoPlayBtn();
                   videoContainer.addChild(playBtn);
                   playBtn.x = 625.6;
                   playBtn.y = 930;
                   pauseBtn = new VideoPauseBtn();
                   videoContainer.addChild(pauseBtn);
                   pauseBtn.x = 625.6;
                   pauseBtn.y = 930;
                   pauseBtn.visible = false;
                   addChild(videoContainer);
                   videoContainer.x = 0;
                   videoContainer.y = 0;
                   playBtn.addEventListener(MouseEvent.CLICK, playVideo);
                   pauseBtn.addEventListener(MouseEvent.CLICK, playVideo);
              public function playVideo(event:MouseEvent):void {
              // this is where I have the video referenced to play.
                   trace("play/pause button clicked");
                   if (player.playing || player.paused) {
                        if (player.paused) {
                             player.play();
                        } else {
                             player.pause();
                        playBtn.visible = player.paused;
                        pauseBtn.visible = ! player.paused;
                   } else if (player.stopped) {
                        player.play();
                        playBtn.visible = false;
                        pauseBtn.visible = true;
                   } else {
                                    //this will obviously not work because then its just this one movie referenced
                        player.play("videos/projectOneVideos/videoOne.f4v", 0, false);
                        pauseBtn.visible = true;
                        playBtn.visible = false;
    The reason I included a bunch of code is to show that there is a play/pause button that is supposed to play the movie. But the thing is I only have the one movie referenced and I am not sure how to have it variable as to which movie is played and make it depend on the button that is clicked from the button class above.
    thanks for any input you can give!!! 
    Note: All of this code works as it is and I am getting no errors.

    Ok, how about this:
    After reviewing my code again, this is what I find.
    I process the xml and then never use it when playing the video. To play the video I had just put the path straight to the video and not even used the xml. In the xml.
    So I guess my question is how to I refer to the xml to load the video and then when dealing with the buttons lead to the right video from the xml.
    kglad: Now I think I see why you were saying define a method of the ProjectOneVideos class that accepts a path/name string to the load target.
    I think the code I need to change is:
         if (player.playing || player.paused) {
                        if (player.paused) {
                             player.play();
                        } else {
                             player.pause();
                        playBtn.visible = player.paused;
                        pauseBtn.visible = ! player.paused;
                   } else if (player.stopped) {
                        player.play();
                        playBtn.visible = false;
                        pauseBtn.visible = true;
                   } else {
               //this is the part that needs to be changed to recognize from the xml
                        player.play("videos/projectOneVideos/videoOne.f4v", 0, false);
                        pauseBtn.visible = true;
                        playBtn.visible = false;
    But then I have to be able to pull the right video when I hit the button.
    So, what tools should I be using?

  • How do you reference a textObject on a Crystal report using Java?

    Hi,
    Could someone please tell me the java statement to reference a textObject on a Crystal report. I am struggling to find the info in the docs and work out how the object model works.
    My textObject on the report is called "VersionNumber" and I want to locate it on the report (I know it will be in the page footer) and then retrieve its value and change it.
    I've managed to get a handle to the report using,
    ReportClientDocument localDoc;
    localDoc = getReport();
    localDoc.open("rassdk://" + reportFile.getAbsolutePath(), OpenReportOptions._openAsReadOnly);
    Any help would be much appreciated.
    Regards
    Rob.

    I've found a way of referencing the textObject using the following line of java code (used in conjunction with the preceding code).
    IReportObject iro = localDoc.getReportDefController().findObjectByName("VersionNumber");
    I can put "iro" into a Watch (within Eclipse) and I can find the contents of the textObject there under the Paragraph tree, but I am now stuck with how to reference this within Java.
    If anyone can help it would be much appreciated (and I will of course award points !)
    Regards
    Robert.

Maybe you are looking for