Custom widget with SmartFile

How should be defined custom widget with SmartFile?
My current js widget definition is: http://pastebin.com/V7MF636t, but it do not render widget in CQ  edit dialog (only RichText is rendered, so general definition is ok).
CQ version is 5.5
Regards,
bulan

hi bulan,
afair the panel of the smartfile is initialized in its processRecord method. so if the method is never called the d&d panel is not going to be rendered. so the first thing to do, is to debug the processRecord method of your custom widegt (or compositeField in this case). sinse you are defining the SmartFile in a custom field, i dont believe its processRecord method is called. i suppose the composite field delegates the call only to the widgets defined in the items field.
cheers, igor.

Similar Messages

  • Custom Quiz with Master Widget not reporting in LMS (Captivate 5.5)

    Hello,
    I have written a custom quiz with partial scoring and, in order to report answers, I am using the Master Widget. (Huge thanks to Lilybiri and Infosemantics for all of the guidance I have found in blogs and e-learning classes!)
    In summary, the quiz is composed of 2 questions with 4 possible answers each.  Each of the 4 answers have a different score attached to it (i.e. answer a = 4 points; answer b = 3 points; answer c = 2 points; answer d = 1 point).   On each question slide I have added a Master Widget (using the variable representing the points the student received as a slave object).  I want the quiz to report the score for each question.   After the student has answered both question slides, they continue to a "Results" slide.  Here they view the total of their scores and get feedback on if their total is to high, too low, or in-line.  On the results page I have used the Master Widget to report the total score to the quiz.
    I have uploaded this quiz as a SCORM package to both Moodle 2.3 and Blackboard 9 (we are trialing different LMS systems).  The quiz runs great in each LMS but when I try to access a report, I don't get any results:  no report of the points received for each quiz item and no score total.  In fact, in Blackboard I get a blank page:
    In Moodle, I get:
    Here is what my quiz preferences look like:
    I am really stuck.  I realize there are a lot of components to this process and I really need some help to find out where the problem lies. 
    Thank you for your time and help!!!

    Bray,
    Yes the figures shown on the Quiz Results slide are important because they indicate some of your widgets or other interactive objects are not being reported to the 'official' quiz score.
    You need to go back and check the objects that you want to be included in the score.  The 67% score reported by the quiz on the quiz results slide probably means that Captivate thinks you only have three objects reporting to the quiz and only two of those (two thirds or 67% in round figures) were successful.
    You mentioned before that you have three Master widgets in this project.  How many of them are set to report to the quiz?  To test whether they're all reporting success, turn on Success and Failure captions for these widgets and then run through your interaction.
    When using Slave Variables with the Master widgets for partial scoring, don't forget that although the Master widgets might count these variables as being interactive objects, Captivate does not.
    Although the Master widget is VERY powerful, it also tends to mess with people's minds because there are just SO many ways you can configure it. If using partial scoring, check whether or not you have the option set to over-ride the widgets own assigned score with the total points score from the slave objects.  If you use this option, you need to make sure that at no time can the over-ridden score fall outside the 0-100% range that SCORM-compliant LMSs will accept.

  • Is it possible to force links inside a custom widget to open in Safari instead of within the widget?

    I'm just starting to get into working with iBooks Author, so apologies in advance if this is a FAQ.  I've search the forum and the web but haven't been able to find an answer.
    I'm trying to link out to an external resource from within a custom widget I've created.
    Instead of opening in Safari, the link is opening within the widget overlay.  There are no browser controls, the content doesn't scroll and there's no way to get back to the widget's original content without closing and reopening the book.  Closing and reopening the widget doesn't reset the widget state.
    I can work around this if I have to, but I'm hoping someone here has a solution.

    I'm looking for an answer to this too. I found that you can do this in a normal Dashboard widget with widget.openURL("...") but for whatever reason the openURL method isn't available in iBooks. Still looking for a solution...

  • Custom widget triggers - or call widget functions

    The title says it !
    Take for example three scenarios:
    1. We have a lightbox display with several slides. Each slide has interactive content like buttons. Some of the buttons will cause the lightbox to close but at the same time we need the close button. So, more than one close buttons.
    2. We need to navigate between slides in a certain order, so on the first slide, we dont need the previous button although it will have to appear as soon as we move on. Likewise, the next button should be removed on the last slide.
    3. After opening a slide in a lightbox we want a css animation to play. The css is created externaly, its put into assets and linked from an html object. But when and how would we call the animation to start? The css fires up as soon as stuff is loaded but we need it to play exactly after the slide is brought into view.
    • So the question is clear: Is it possible to do those from inside muse, or we need to create custom widgets from scratch? Like with jquery maybe.
    • Is there a way to alter the default muse scripts, or simply call widget functions from our buttons? Example: button calls lightbox.close() or lightbox.next(); etc...
    I'm sorry if it has been asked before, i just couldn't find something the way i've searched it. Maybe I'm asking the wrong way but I believe its clear. Anyway, there is not need for muse to do everything, if someone has a workaround would be also welcome!
    Thanks alot!

    Hi Fabrice,
    You should be able to use the cpCmndGotoSlide variable. I suspect that the problem is something with your path in Flash.
    Can you post an excerpt of the code you use for your buttons in the Flash widget?
    /Michael
    Click here to visit the www.captivate4.com blog

  • How to change Custom widget title

    Hello experts,
    I have a widget titled as Custom Widget.How can i change
    this title ?

    Hello,
    By default SAP Widget Foundation accepts connections only from localhost, but it can be changed by removing line
    <Set name="host">localhost</Set>
    from middleware.xml in C:\Documents and Settings\<username>\SapFoundation
    After this modification, host where widget tries to connect should be changed in widgets from 127.0.0.1 to your server host
    Foundation at the moment is designed as component to run on the same box as widgets as it is responsible for Y! widget autoupdate and can use SSO with Secude
    Eriks

  • Custom Widgets

    Chandrashekar, Alaiah <[email protected]> wrote
    <snip!>
    Do anyone know about developing custom widgets in Forte. I have a
    situation were I need to develop a Ruler widget which is very similar
    to the Line widget provided by Forte. I tried subclassing it from the
    Line widget and it does not allow me to do that. IM(NS)HO, one of the (few!) real weaknesses of Forte is its barrenness,
    in the genealogical sense -- most of its objects, including, apparantly,
    all the graphic ones, can't have children. My particular graphic gripe
    is the lack of a spin widget, but I sympathise.
    In SOME cases you can get the "moral equivalent" of subclassed widgets
    by other means. These include (but are not limited to!):
    * Subclassing non-graphic objects to get a custom display (e.g. a
    subclass of IntegerNullable that displays itself as Roman
    numerals). I suspect this approach does not meet your needs.
    * Writing non-graphic manager objects to manipulate a bunch of graphic
    objects in standard ways to make them "look" kind of like a
    custom graphic object. For example, one way to get a ruler might
    be to put a panel on your window, and create a non-graphic
    object that draws appropriately in that panel, and (using an
    event handler which must be manually registered) responds to
    events in it.
    * Create a window that's just one big ruler, and nest that window in
    whatever window you want to display a ruler. This is how I
    simulated a spin widget.
    When choosing among the last two alternatives, I go for the latter, more
    out of habit than anything else. I believe that with a nested window you
    get a simpler object; but on the other hand you can't usefully nest a
    window in an array field (it simply doesn't function) or a mapped
    CompoundField (it'll function just fine, but won't automatically update
    the mapped object unless you do something to explicitly tell the nested
    window what it's supposed to be updating).
    You will find a sample app using nested windows in
    ${FORTE_ROOT}/INSTALL/EXAMPLES/DISPLAY/NESTWIN.PEX
    Tom Wyant The opinions expressed in this document are
    [email protected] those of the author, except for the
    [email protected] following, which is William Shakespeare's:
    "The first thing we do is, we'll kill
    all the lawyers."
    Henry VI, Part II, Act 4, Scene 2

    HI
    The buttons used in the Program displayed by your link are mostly images used in the buttons, especially for the toolbar. So may have to get out your drawing board and start creating yorur own images. Also the button used for the inner frame, is something that can be achieved by creating a new look and feel for your application. Check out the Code Examples in you sdk, the MetalWorks example in particular. Go through all the looks and feels provided for that application and try to come up with your own, so that you frame buttons will look fancier.
    Also search the net for IFrame. I can't remember the site where it is located but it provides you with Java classes for custom JFrames which a have very powerful and interest appearances.
    These should get you on your way. Do remember:
    1. Images for toolbar buttons and normal JButton
    2. Custom Look and Feel for JFrame buttons
    All the best.
    ICE

  • A custom widget : Waterfall Display

    Hi,
    I developed a waterfall display (aka spectrogram) as a custom widget to explore the capabilities of JavaFX. It turned to be an interesting experience for me.
    I want to share it with the community. An explanation is on my blog : [http://javafxwidgets.blogspot.com/]
    Any comments and suggestions are welcome.
    Altug

    Nice!
    Cheers,
    Nuwanda

  • Customer Statement with opening and closing balances

    Dear Forum,
    The users want to generate the Customer Statement with opening and closing balances like the traditional one. The statement now generated gives the list of all open items as on date, but the users want the statement with opening balances as on the date of the begining of the range specified and the closing balance at the end of the period for which the statement is generated. Is there a way to generate the same from the system.
    Thanks for the help.
    Regards,

    Hi,
    SPRO> Financial Accounting (New) > Accounts Receivable and Accounts Payable > Customer Accounts > Line Items > Correspondence > Make and Check Settings for Correspondence
    You can use the program RFKORD10 with correspondance type SAP06 for your company code
    This program prints account statements and open items lists for customers and vendors in letter form. For account statements, all postings between two key dates, as well as the opening and closing balance, are listed.
    Regards,
    Gaurav

  • Is there a way to create a custom screensaver with pics/slides that display for different amounts of time?

    Is there a way to create a custom screensaver with pics/slides that display for different amounts of time? Or even add a "video slide" into the screensaver?
    My business has 3 TVs displayed in our lobby, each with its own apple TV and they are all linked to the same photo stream. Currently the Atv screensaver displays the photostream pictures of our products for the default 3 seconds. We just added pics/slides that now display messages and useful info for our customers but I want that info to be displayed for a longer period of time than the pictures to give people a chance to read it.
    I tried using flickr and powerpoint as a work around but no luck.  I created a slide in powerpoint with play length of 15 secs and saved it as a wmv file.  I added that file to a "screensaver" set in flickr and pointed the Atv screensaver to that flickr set.  It still displays everything, pics and the wmv file at the default 3 sec.
    I know I can increase the duration of all pics in the screensaver to display for longer but the goal is to have the pics display at 3 secs and the info slides to display at 15 secs.

    Welcome to the Apple Community.
    No that's not possible.
    If you have any suggestions that you think might enhance the Apple TV you can send Apple your feedback here 

  • Error while adding a custom field with Input help via AET

    Hi All,
    I need to add two custom field under Service orders at Item level in component BT140I_SRVP.
    One field is required to have the input search help f4 and autopopulates the second field
    I am able to add one field(not requiring help) successfully through AET .
    I have created one Zsearch_help in se11 and its successfully running  and Autopopulating seocnd field while I am testing it
    While adding second field through AET,I need to enter following details as -
    field label,search relevant ,serach help etc.
    When I type the name of my 'Zsearch_help' against field search help it gives me following error
    'Search help is not compatible'.
    Secondly,not getting getter and setter methods for the attrributes in BTAdminI.
    Last,please tell me if i create zhelp and activate it,would it automatically appear in the list on AETwhile assiging it to input field?
    Please help me out.Kindly be detailed as I am new to SAP CRM.
    Thanks,
    Shivani

    The question is answered in CRM 7.0 forum:
    Getting error while adding a custom field (with input help) through AET

  • Can't make a workable custom codec with ProRes 422 (HQ)

    I've only just now found that there is a Support Community for Compressor.  Wish I'd known sooner.
    I see my version of Compressor is 3.5.3.
    I've been on a little saga.
    I started out with the challenge of converting some MP4 files from a Blackberry Playbook into ProRes 422 (HQ) for editing in Final Cut. I used Compressor and the task looked fairly straight forward. I used the ProRes setting in the Compressor, converted my files and imported them into Final Cut. Video was fine but I soon found out that the audio needed rendering every time I put a clip into the Timeline. I went on-line to various chat rooms with this problem. Pretty soon a fellow was telling me that the ProRes 422 (HQ) setting in Compressor had "Audio Pass-through" as default and that this was the cause of my problem. Change it, he said, to "Linear PCM".
    It took me a fair while to figure out that the ProRes setting in Compressor did not allow itself to be modified and that I'd have to create a custom preset if I was to make these changes. I set about to do that. I was able to select "QuickTime Movie" and then in "Video/Settings" choose "ProRes 422 (HQ)", in "Audio", "Linear PCM". This did solve the audio problem. Now files imported into Final Cut did not need rendering. But another problem became evident.
    Whereas the ProRes 422 setting that came with Compressor in its summary page listed: "Width" and "Height" as "(100% of source)", the custom ProRes 422 (HQ) setting I'd just created has "Width" and "Height" as "320" and "240". In short the 19:9 aspect ratio of the original footage was lost. What I got both in the conversion and in Final Cut was a squished SD image.
    I've played like heck with Compressor trying to see if there was some place I could get this custom version of ProRes to correspond to the aspect ratio seen in the Audio Pass-through version that came loaded in Compressor. No luck. All very mysterious.
    My next step was to look to create another custom codec that would have the proper 1280 X 720 ratio. Turns out  "HDV 720p 30fps" does, so now I've been converting to that. Looks fine in Final Cut - proper picture and sound.
    I've been playing around a bit more and see now that I can create a custom setting using "Apple Intermediate Codec". I've tried it and it works too.
    So after all this, my question: Should I be using that codec instead? Or does it really matter what codec I use for editing? Is the only real issue what codec I decide to use to output?
    And while I'm at it: Does anybody have ideas why trying to create a custom setting with ProRes 422 (HQ) does not work - for my purposes at least.
    I must admit this converting codecs is pretty new to me. Hopefully with time this experience will get easier and clearer.
    John

    Setting a Compressor ProRes Custom Setting:
    1) Pick Apple ProRes 422...
    2) Drag the PreRes 422 setting to the Bach Window. You can only make a custom setting from the Batch Window...
    3) Select enable for the audio. Click on setting to make sure it is set right. Uncheck Allow Job Segmenting... Make sure Streaming is set to none*....
    4) Select the Geomenty tab... Pick Custom (16:9):
    5) Click Save As and name your custom setting...
    6) You new custom setting will show up in the Custum folder for later use:
    Another thing you can do is make Droplet of this custom setting. Menu... File... Create Droplet... Save the Droplet into a folder somewhere on your computer.
    A Droplet will start the transcoding automatically. Drag the Droplet onto a video icon and let it do it's job.
    * ProRes doesn't need the Fast Start setting. If this is set it will take almost twice as long to do the encoding. Same with Allow Job Segmenting using Qmaster.
    I did the above on the fly and hope everything is clear for you to understand.

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • Maintenance View for custom table with foreign key relationship

    Hi Folks,
         I have created a custom table with foreign key relationship with other check tables. I want to create a maintenance view / tablemaintenance generator. What all things I need to take care for the foreign keys related fields while creating the maintenance view / tablemaintenance generator.
    Regards,
      santosh

    Hi,
    You do not have to do anything explicitely for the foreign key relationships in the table maintainance generator.
    Create the table maintainance generator via SE11 and it will take care of all teh foreign key checks by itself.
    Regards,
    Ankur Parab

  • Is it possible to create a customized survey with our organizations logo at the top?

    Is it possible to create a customized survey with our organizations logo at the top? I'm trying to create a survey for our members but instead of using a template we would like to use something simple with our logo included at the top.

    Just create a blank form and click Add Header at the top of the form page:

Maybe you are looking for

  • How to change email on icloud account?

    I recently lost a lot of data cuz my icloud was backed up but it wasnt updated for a while after this ios 6 update it was really hard to get my ipod to show up on itunes. It is on an icloud account i have the same account but I wanted to change the e

  • Windows 7 running slow on network.

    Are there issues with the network interface card using windows 7 installed with Boot Camp?

  • Error -61203 (Cannot Run RT.vi due to error after recompiling new FPGA.vi)

    I have updated my FPGA code to interface with my custom mezzanine card.  The code runs fine.  I am updating the RT code to interface with these changes.  Yesterday, both were functioning properly.  I made some changes to the FPGA code this morning, w

  • One published event doesn't show the right time

    Hi all, I have a published calendar. Created localy on my MacBook. When I go on the web page to see this calendar, very strangely one of the events shows 13:00 on the online calendar but should be at 14:00 (as created in iCal localy). All the other e

  • How would leopard run

    I recentely got a eMac and I was thinking about upgrading from tiger to leopard, but... I don't know how it will run, my eMac does meet the system requirements, but only just I have this: processor: 1; 1GHz PowerPC G4 (with 512KB L2-cache) memory: 51