Refresh combobox with custom display(Plug in)

Hello ,
I am using combobox with custom display(Plug in) in my application.
i want to display value in combobox on selection of values in radio item
sample query used in combobox like
if :Radio_item = 1 then
return 'SELECT NAME dropdown_display
    ,NAME search_string
    ,NAME input_display
    ,id return_value
FROM Table_A';
else
return 'SELECT NAME dropdown_display
    ,NAME search_string
    ,NAME input_display
    ,id return_value
FROM Table_B';
end if;
but problem is it is always showing the data from first query,it is not displaying the value from second query on changing of radio option.
i also tried to refresh the combobox item  on change of radio item values but still it is showing the value from first query.
please help me how to resolve this issue.
Apex Version - 4.1.1
Database - 11g
Regards and thanks
Jitendra

Shiv wrote:
Hi,
I used plugin "Combobox with Custom Display".
I have issue like
When i entered some text in textbox and scroll down using down key of key board. That highlighted part can not scroll down with scroll.
The demo link for above issue
http://apex.oracle.com/pls/apex/f?p=35538:4
kindly help me out.
ThanksIts a bug in the plugin code and not related to APEX.
I will look into it and fix my code to address this issue, please bookmark this page http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/combobox-with-custom-display_212.html and check for updates.
Thanks,
Vikram

Similar Messages

  • Access query strings in a search results page with custom display template

    am trying to create a  custom display template in my search results page , so i went to download the itemdefault html file and renamed it and  saved as  different file.and  am started to updating.
    the issue i am facing here is : in my  search results page there are 2 query strings, which are passed by anotehr .net appln[ another asp.net appln will be sending the query string to my sp 2013 search results page]
    but, how can i  read these 2  query strings using jslink and  new token _#- ? 
             <!--#_
               var QStringResults= null;
    ctx.OnPostRender = [];
    ctx.OnPostRender.push(function(){ 
    QStringResults= getQuString(); //here am unable to read the QStringResults value 
     _#-->  
    the below is my cstomhtml file
    am unable to  get the values :
                   <a href="http://srvrname:2013/sites/CMP/_layouts/15/BIFAddInputRef/bifpage1.aspx?bif1=_#= $htmlEncode(QStringResults) =#_"> Add Input Reference </a>
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"> 
    <head>
    <title>Item BIF</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:MasterPageDescription msdt:dt="string">Displays the default result item template.</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#SearchResults;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:ManagedPropertyMapping msdt:dt="string">'Title':'Title','Path':'Path','Description':'Description','EditorOWSUSER':'EditorOWSUSER','LastModifiedTime':'LastModifiedTime','CollapsingStatus':'CollapsingStatus','DocId':'DocId','HitHighlightedSummary':'HitHighlightedSummary','HitHighlightedProperties':'HitHighlightedProperties','FileExtension':'FileExtension','ViewsLifeTime':'ViewsLifeTime','ParentLink':'ParentLink','FileType':'FileType','IsContainer':'IsContainer','SecondaryFileExtension':'SecondaryFileExtension','DisplayAuthor':'DisplayAuthor','CMPBIFURL2':'CMPBIFURL2'</mso:ManagedPropertyMapping>
    <mso:_dlc_DocId msdt:dt="string">X3CVW7PXYF6P-3-222</mso:_dlc_DocId>
    <mso:_dlc_DocIdItemGuid msdt:dt="string">3ed12157-ea19-4591-b9cd-7a826aef35dc</mso:_dlc_DocIdItemGuid>
    <mso:_dlc_DocIdUrl msdt:dt="string">http://srvrname:2013/sites/CMP/_layouts/15/DocIdRedir.aspx?ID=X3CVW7PXYF6P-3-222, X3CVW7PXYF6P-3-222</mso:_dlc_DocIdUrl>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
        <script>
            $includeLanguageScript(this.url,"~sitecollection/_catalogs/masterpage/Display Templates/Search/BIFJScript.js");
        </script>
        <div id="Item_BIF2">
    <!--#_ 
            if(!$isNull(ctx.CurrentItem) && !$isNull(ctx.ClientControl)){
                var id = ctx.ClientControl.get_nextUniqueId();
                var itemId = id + Srch.U.Ids.item;
    var hoverId = id + Srch.U.Ids.hover;
    var hoverUrl = "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default_HoverPanel.js";
                $setResultItem(itemId, ctx.CurrentItem);
    if(ctx.CurrentItem.IsContainer){
    ctx.CurrentItem.csr_Icon = Srch.U.getFolderIconUrl();
    ctx.currentItem_ShowHoverPanelCallback = Srch.U.getShowHoverPanelCallback(itemId, hoverId, hoverUrl);
                ctx.currentItem_HideHoverPanelCallback = Srch.U.getHideHoverPanelCallback();
    _#-->
             <!--#_
               var QStringResults= null;
    ctx.OnPostRender = [];
    ctx.OnPostRender.push(function(){ 
    QStringResults= getQuString();
     _#-->  
            <div id="_#= $htmlEncode(QStringResults) =#_" name="bifItemqstring" 
                    data-displaytemplate="DefaultItem" class="ms-srch-item" 
                    >
                    <h5 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.Path =#_"> _#= ctx.CurrentItem.Path =#_</a>
                    </h5>
                </div>
                <div id="_#= $htmlEncode(itemId) =#_" name="bifItem" 
                    data-displaytemplate="DefaultItem" class="ms-srch-item" 
                    onmouseover="_#= ctx.currentItem_ShowHoverPanelCallback =#_" 
                    onmouseout="_#= ctx.currentItem_HideHoverPanelCallback =#_">
                    <h1 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.Path =#_"> _#= ctx.CurrentItem.Path =#_</a>
                    </h1>
                    <h4 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.Description =#_"> _#= ctx.CurrentItem.Description =#_</a>
                    </h4>
                    <h4 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.LastModifiedTime =#_"> _#= ctx.CurrentItem.LastModifiedTime =#_</a>
                    </h4>
                    <h3 style="color:floralwhite;background-color:green">
                        var mybifurl1= document.getElementById($htmlEncode(QStringResults));
                    <a href="http://srvrname:2013/sites/CMP/_layouts/15/BIFAddInputRef/bifpage1.aspx?bif1=_#= $htmlEncode(QStringResults) =#_"> Add Input Reference </a>
                    </h3>
                  </div>
            <div>
            </div>
                    <div id="_#= $htmlEncode(hoverId) =#_" class="ms-srch-hover-outerContainer"></div>
    <!--#_ 
    _#-->
        </div>
    </body>
    </html>
    when i run the page , i a getting the query string value as   undefined! though the custom javascript is getting called.

    i am able to get the  results  by implementing the below:
    <h4 style="background-color:black">
                        <a onclick="javascript:mycalltojs(_#=
    ctx.CurrentItem.Path=#_) > click here </a>
                    </h4>
    hope this helps  anyone

  • Search Results Clear On Refinement with custom Display Template

    I am working with a custom search display template. I did minor presentation changes in the template. I am showing a checkbox against each search item and there is some logic behind it.
    For this I am using Item_Default Template.
    ctx.OnPostRender = [];
    ctx.OnPostRender.push(function(){
    $('input[name=checkbox]').change(function(){
    //My Logic
    With this is in place, on page load it shows initial results just fine and my checkbox logic also works fine.
    However, whenever user hits a refinement value the results clear out and no longer display. I know the results are there because when I do reload of the page refined results appears but again when you click on refinement value results disappear.
    With some digging on the forums I found that use "AddPostRenderCallback(ctx,function(){" instead of "ctx.OnPostRender.push", I tried this as well but it didn't help.
    Whenever I remove "ctx.OnPostRender.push(function(){" code from my template, refinement panel starts working properly again. So there has to be something related to this "ctx.OnPostRender.push". I cant just
    remove it because I have to write my JS logic as well for that this function is must.
    Please give me some pointers.
    Thanks
    Sarvesh
    Regards Sarvesh Shinde SharePoint Developer, India

    i am able to get the  results  by implementing the below:
    <h4 style="background-color:black">
                        <a onclick="javascript:mycalltojs(_#=
    ctx.CurrentItem.Path=#_) > click here </a>
                    </h4>
    hope this helps  anyone

  • ComboBox with custom ItemRenderer

    This is my combobox where I am trying to have a custom renderer:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:ComboBox xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/halo">
         <fx:Script>
              <![CDATA[
              import mx.events.FlexEvent;
              import mx.collections.ArrayCollection;
              import mx.controls.CheckBox;
              public var datas:XML;
              [Bindable]
              var ItemRenderer:ClassFactory;     
              override public function set data(value:Object):void
                   dataProvider = datas["sku" + value.sku];
                   ItemRenderer = new ClassFactory(comboBoxCheckBoxItemRenderer);     
                   itemRenderer = ItemRenderer;
              public function saveCheckState(evt:Event):void
                   var dataProviderItem:Object = dataProvider.getItemAt(dataProvider.getItemIndex(selectedItem));
                   dataProviderItem.selected = CheckBox(evt.currentTarget).selected;
                   dataProvider.setItemAt(dataProviderItem, dataProvider.getItemIndex(selectedItem));     
              ]]>
         </fx:Script>     
    </mx:ComboBox>
    This combobox is used as a custom itemrenderer in datagrid.
    Here is code for comboBoxCheckBoxItemRenderer:
    package modulecode
         import mx.containers.HBox;
         import mx.controls.CheckBox;
         import mx.controls.Label;
         import mx.controls.Spacer;
         public class comboBoxCheckBoxItemRenderer extends HBox
              private var action:Label;
              private var spacer:Spacer;
              private var checkBox:CheckBox;
              public function comboBoxCheckBoxItemRenderer()
                   super();
              override protected function createChildren():void {
                   // Call the createChildren() method of the superclass.
                   super.createChildren();
                   action = new Label();
                   // Add the child component to the custom component.
                   addChild(action);
                   spacer = new Spacer();
                   spacer.percentWidth = 100;
                   // Add the child component to the custom component.
                   addChild(spacer);
                   checkBox = new CheckBox();
                   // Add the child component to the custom component.
                   addChild(checkBox);
              override public function set data(value:Object):void
                   action.text = value.action;
                   checkBox.selected = value.selected;
    What's happening is that nothing is happening untill I drop combobox down in the grids. As the result checkboxes are not selected properly.
    Any help?

    How would I set up a custom itemrenderer to use data binding but properly have selected property in the following code:
    <<mx:itemRenderer>
              <fx:Component>
                   <mx:HBox width="100%">
                        <mx:Label text="{XML(data).action}"/>
                        <mx:Spacer width="100%"/>
                        <mx:CheckBox id="check" selected="{XML(data).selected}"
                                        change="outerDocument.saveCheckState(event);"/>
                   </mx:HBox>
              </fx:Component>
         </mx:itemRenderer>

  • Size of combobox in JTable with custom cell editor

    Hi All -
    I have a JTable that displays a combobox in certain cells. I have a custom table model, renderer, and editor. All of that works fine. I render the combobox with the renderer, and then return the combobox as an editor in the editor so that it can drop down and actually be of use. My problem is - I set the size of the combobox with a setBounds call in the renderer, I add it to a panel, and return the panel - because I dont want the combobox to take up the entire space of the cell. This approach fails in the editor. The setBounds and setSize calls have no effect. As soon as you click the combobox, the editor takes over and all of a sudden the combobox resizes to the entire area of the cell. I assume this is because in the editor you arent actually placing anything - your simply returning the "editing form" of the component.
    So - anybody know of a way to work around this? Worst case, I could just allow the combobox to use the entire area of the cell - but it makes it uglier so I figured I would run it by the forums.
    Eric

    Rather than just redirect you to my previous answer from ages ago, I'll just give it again. :-)
    You can actually do this, but you have to get tricky. By default, the dropdown's width will be the same width as the cell... but it doesn't have to be that way. Essentially what you have to do is override the UI (MetalComboBoxUI) for the combo component. In your new customized UI component subclass (that you set the combo to use), modify the the createPopup() method of this UI class, and add your own logic to set the size of the popup before you return it.
    Ideally the size would be based on the computed max width of a rendered item shown in the combo, but really you could set it to whatever just to see how it works.

  • Refreshing JTree with a customized TreeModel

    Hello,
    I'm newer to Swing, and I'm seeking for help for a JTree problem.
    I hoped to display an XML document with JTree. So I customized a TreeModel and TreeNode to handle the XML data.
    I used DOM to handle XML, and define TreeNode with the following class:
    class DOMtoTreeNode {
    org.w3c.dom.Node domNode;
    public DOMtoTreeNode(org.w3c.dom.Node myNode){
    this.domNode = myNOde; }
    public String toString() {
    //the displaying code
    //and other necessary code to handle children of domNode
    Then I defined an implementation of the TreeModel Interface.
    public class DomTreeModel implements javax.swing.tree.TreeModel
    Document document;
    public DomTreeModel(Document aDomDoc){   
         this.document = aDomDoc;
    // Basic TreeModel operations
    I didn't define any personal TreeModelListener for this TreeModel
    and then I created a JTree object to display the XML tree
    treeModel = new DomTreeModel(someDOMDocument);
    treeInputParameter = new JTree( treeModel );
    and I defined JtreeListener.
    What I hoped to do is to make modification for the XML document in the JTree.
    I added the editing functions in the "valueChanged" function. I added a new DOM node as a child of an existing element node by directly append the child in the DOM node. The code is like the follows:
    DOMToTreeNode treeNodeSelected =(DOMToTreeNode)
    treeInputParameter.getLastSelectedPathComponent();
    org.w3c.dom.Node domNode = treeNodeSelected.getNode();
    //get the dom node from Jtree Node here
    domNode.appendChild(someChildDomNode);
    Up to now, it seems work fine. The TreeModel updates the DOM Document, and the modification being shown in JTree.
    But when I tried to replace an existing node with a new node, something went wrong.
    domNode.replace(newChild, oldChild);
    I debugged the code, and found the underlying DOM Document in the TreeModel had been successfully changed, but the TreeModel didn't update the display in JTree.
    I'm afraid this is quite a naive question, but would someone be kindly help me deal with this? It seems that the reason is that some code is missing to let the TreeModel refresh the frontend JTree display. But I realy don't know how to tackle this.
    Thanks!
    Haoxiang Xia

    Thank you for your reply.
    Are you adding nodes or just expanding the JTree?Adding nodes (I also want to delete nodes)
    I don't know how to do this by just implementing
    TreeModel. This is using DefaultTreeModel.Yeah, I really don't want to use DefaultTreeModel because I would have to wrap my data objects as TreeNodes. Since my data objects are already in a tree structure, implementing TreeModel is much cleaner.
    It looks like I have to implement fireTreeNodesInserted() in my TreeModel, but I guess what I need to understand is how to register the JTree as a listener to my custom TreeModel. JTree doesn't directly implement TreeModelListener. I read somewhere that JTree automatically registers itself with the TreeModel, but that is not what I am observing.
    So..., I am still in need of more info.

  • Adobe Acrobat Version 9.0 & X are not showing "Clear Signature Field" with Custom e-sign plug-in

    Hi...
    We have created Custom PDF signature plug-in using Adobe X SDK.
    Earlier we had the same Custom PDF signature plug-in with Adobe 7.0 SDK and it used to show "Clear Signature Field" in context menu of digital signature placed on PDF.
    After upgrading the Custom signature plug-in to Adobe X SDK (complied again with SDK X, earlier it used to be 5.0 SDK) to support Acrobat 9, X and XI for digital signature, the "Clear Signature Field" option is appearing in context menu of digital signature box. Even the "Clear Signature Field" option is not shown for the user who has signed the document.
    "Clear Signature" option is available for Adobe Default Security signature.
    We have not changed anything in our plug-in code apart from recompiling it with Adobe X SDK.
    This is a critical issue for us.
    Here is the screen-shot from signed PDF having Adobe Default signature as well as our Custom plug-in signature.
    Here it clearly shows that "Clear Signature" option is not present in signature placed by Custom plug-in.
    Please let us know if anyone else has faced this type of issue earlier and has a resolution.
    Thanks In Advance...
    Waseem

    I am still not getting the Clear signature option for the user who has signed the PDF using Custom PDF Signature plug-in but the same is available for Acrobat Default security signature.
    Custom plug-in is compliled with Adobe X SDK and we have not made any code change to hide the Clear Signature option.
    I found a related posts where Clear Signature option is not shown:
    http://forums.adobe.com/message/5092195

  • Incorrect JFrame icon display with custom theme

    I created a JFrame with custom icon and theme.
    The problem is the transparent color of icon
    doesnt not display correctly.
    Can anyone help?

    Hi,
    As you said, the custom theme appears when applying seatle.master page, but not when applying a custom master page.
    It might be an issue of this custom master page.
    As a common practice, I would suggest you inspect the “Change the look” page source code when applying the seatle.master page using IE Developer Tools, compare it
    with the page when applying that custom master page, to see if it will give you more information about this issue.
    Another suggestion is that, you can create a new custom master page by copying the seatle.master page, verify the custom theme preview in the “Change the look” page,
    then add other customization one after one, keep verifying during the process. By doing this, it will be easier to find out the root cause.
    About using the F12 developer tools:
    https://msdn.microsoft.com/en-us/library/ie/bg182326%28v=vs.85%29?f=255&MSPPError=-2147217396
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to fix bad line spacing with custom image bullet when displaying on iPad

    So I have a presentation with custom image bullets for a couple slides. The bullets are fine when displayed on a mac, but when I move it over to the iPad the line spacing of the bullets and the text gets further out of horizontal alignment the more lines I add. I've tried adjusting the size of the bullets larger and smaller to see if that would help but it makes no difference either way.
    I know the easiest thing is to get rid of the custom image bullets, but this issue makes no sense to me and I'd really like to solve it.
    Here's how it looks on the mac:
    Here's how it looks on the iPad (took a photo and I know it's a little warped but I've shown where the issue is occurring):

    -> press '''CTRL''' + '''0''' (zero) to '''Reset''' Zoom
    * For details, see this article -> [[How do I use Zoom?]]
    Check and tell if its working.

  • I've plugged my ipod classic into my mbp 13 inch with retina display but I can't sync or charge it ?

    I recently purchased a macbook pro 13 inch with retina display, am having a great time coming over from Windows! I went to try and sync my ipod today for the first time but unfortunately I cannot charge or sync my ipod when connected. I'm using the standard connector that came with my ipod classic and tried both usb ports on the macbook but have had no luck. I tried looking for the ipod as well on the computer but I can't see it .
    I'm pretty sure I've done everything correctly, but am still trying to get used to using my macbook so have probably overlooked something !

    HI Matt542, and welcome to the community.
    Did you transfer your iTunes library over to the new mac? If not, you should because once the Mac recognizes your iPod it is going to delete the music on it unless you have transferred the old library.
    Your iPod can only be synced with one iTunes library at a time.  If you try to sync it to a new computer/iTunes library the process will erase what is currently on the iPod and replace it with the content that is now in your new iTunes library.  If possible, copy your entire iTunes library from your PC to your Mac first.  Here are a few ways to do it.
    http://support.apple.com/kb/HT4527
    One way to do it is to use your iPod Classic as an external hard drive and copy it that way.
    http://support.apple.com/kb/HT1329
    Otherwise, you'll need to use one of the methods described in this Apple support document to copy content from your iPod back to your Mac.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0

  • Combobox with LOV showing ID but would like to display more meaningful text

    Hi, I'm experimenting with JDeveloper 11.2.
    I have a base table/eo with an FK ID to another table/eo which is a lookup table.
    On the base tables view I have created a combobox with LOV but it is showing the ID and I'd like it to show the name from the lookup table.
    So rather than showing the ID 1 I'd like it to show James instead.
    I can just about remember being able to do this in Oracle Designer.
    I know this is something stupid but I've searched Google and not come up with anything.
    CREATE TABLE ACCOUNTS
    ACCOUNT_ID NUMBER NOT NULL,
    ACCOUNT_LOGIN VARCHAR2(30 CHAR) NOT NULL,
    FIRST_NAME VARCHAR2(50 CHAR) NOT NULL,
    LAST_NAME VARCHAR2(50 CHAR) NOT NULL,
    EMAIL VARCHAR2(150 CHAR),
    CREATED_TIMESTAMP TIMESTAMP(6) WITH LOCAL TIME ZONE DEFAULT SYSTIMESTAMP NOT NULL
    ALTER TABLE ACCOUNTS ADD (
    CONSTRAINT ACCOUNTS_PK
    PRIMARY KEY
    (ACCOUNT_ID));
    CREATE TABLE ACCOUNT_MODULE_ROLES
    ACCOUNT_MODULE_ROLE_ID NUMBER NOT NULL,
    ACCOUNT_ID NUMBER NOT NULL,
    MODULE_ID NUMBER NOT NULL,
    ACCOUNT_ROLE_ID NUMBER NOT NULL
    ALTER TABLE ACCOUNT_MODULE_ROLES ADD (
    CONSTRAINT ACCOUNT_ROLES_PK
    PRIMARY KEY
    (ACCOUNT_MODULE_ROLE_ID));
    ALTER TABLE ACCOUNT_MODULE_ROLES ADD (
    CONSTRAINT AMR_ACC_FK
    FOREIGN KEY (ACCOUNT_ID)
    REFERENCES ACCOUNTS (ACCOUNT_ID)
    ON DELETE CASCADE
    ENABLE VALIDATE);
    I've created the LOV on AccountModuleRolesView.

    1. Create a transient attribute AccountFirstName. - Created in AccountModuleRolesView1, attributes a transient string called AccountFirstName with an alias of VIEW_ATTR
    2. Create a VA on accountId attribute. - VA? There is a tab called View Accessors and I have three, one for each of the FK's.
    3. In attribute mapping ... Where abouts is that? After I've created the LOV?
    map ... accountId to accountId I did this in the LOV, list return values, using the VA's I linked in.
    and fristName to accountFirstName. Did this also in the same place.
    4. In UI hints shuttle accountFirstName. The field doesn't show up in the list to shuffle, only the underlying eo attributes.

  • Photoshop CS5.1 Crashes Upon Opening: "Photoshop has encountered a problem with the display driver-"

    Every time I try to open photoshop I get a window that pops up and says:
    "Photoshop has encountered a problem with the display driver, and has temporarily disabled GPU enhancements.  Check the video card manufacturer's website for the latest software.
    GPU enhancements can be enable in the Performance panel of Preferences."
    Then windows shuts the program down.  The details of the problem are:
    "Files that help describe the problem:
      C:\Users\Owner\AppData\Local\Temp\WER70AD.tmp.WERInternalMetadata.xml
      C:\Users\Owner\AppData\Local\Temp\WER9389.tmp.appcompat.txt
      C:\Users\Owner\AppData\Local\Temp\WER9407.tmp.hdmp"
    I'm on a custom Asus
    I'm using Win7 Home Premium 64-bit
    16GB RAM
    Nvidia Geforce GTX 560 2GB video card
    Intel i7 core 2.2 GHz
    12 GB of memory
    The error happens so quickly that I don't have time to do anything.  Please help.  >.<  I've been on hold for *checks phone* 2 hours exactly.  Wow.  It is a legit copy and was working last month with no trouble.  I've updated the drivers and tried a few solutions that have worked for other people that I found on Google (such as disabling CUDA and setting my "power management mode" to "prefer maximum performance" on my video card) but so far nothing has worked.
    Thanks in advance!

    It has stopped crashing because somehow it turned off "Enable GL Drawing" on its own because I could never even get a menu open.  Not sure how it did that but I am grateful.  I still get the error when I open Photoshop up but at least it hasn't crashed yet.  At the time when it was crashing I never would have been able to get you the system info due to the speed that it was crashing upon just opening the program.  In case you still need it:
    Adobe Photoshop Version: 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch]) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physical processor count: 8
    Processor speed: 2394 MHz
    Built-in memory: 16361 MB
    Free memory: 13322 MB
    Memory available to Photoshop: 14694 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Disabled.
    OpenGL Drawing Mode: Basic
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: False.
    OpenGL Crash File: Detected.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: GeForce GTX 560M/PCIe/SSE2
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 1080, right: 1920
    Video Card Number: 1
    Video Card: NVIDIA GeForce GTX 560M
    Driver Version: 9.18.13.697
    Driver Date: 20121002000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Video Mode: 1920 x 1080 x 4294967296 colors
    Video Card Caption: NVIDIA GeForce GTX 560M
    Video Card Memory: -2047 MB
    Serial number: 92628077745082451425
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)\
    Temporary file path: C:\Users\Owner\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      C:\, 931.4G, 511.4G free
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2010/12/13-23:37:10   64.449933   64.449933
       adbeape.dll   Adobe APE 2011/01/17-12:03:36   64.452786   64.452786
       AdobeLinguistic.dll   Adobe Linguisitc Library   5.0.0  
       AdobeOwl.dll   Adobe Owl 2010/06/03-13:43:23   3.0.93   61.433187
       AdobeOwlCanvas.dll   Adobe Owl Canvas   3.0.68   61.2954
       AdobePDFL.dll   PDFL 2010/12/13-23:37:10   64.341419   64.341419
       AdobePIP.dll   Adobe Product Improvement Program   5.5.0.1265  
       AdobeXMP.dll   Adobe XMP Core   5.0   64.140949
       AdobeXMPFiles.dll   Adobe XMP Files   5.0   64.140949
       AdobeXMPScript.dll   Adobe XMP Script   5.0   64.140949
       adobe_caps.dll   Adobe CAPS   4,0,42,0  
       adobe_OOBE_Launcher.dll   Adobe OOBE Launcher   2.0.0.36 (BuildVersion: 2.0; BuildDate: Mon Jan 24 2011 21:49:00)   1.000000
       AFlame.dll   AFlame 2011/01/10-23:33:35   64.444140   64.444140
       AFlamingo.dll   AFlamingo 2011/01/10-23:33:35   64.436825   64.436825
       AGM.dll   AGM 2010/12/13-23:37:10   64.449933   64.449933
       ahclient.dll    AdobeHelp Dynamic Link Library   1,6,0,20  
       aif_core.dll   AIF   2.0   53.422628
       aif_ogl.dll   AIF   2.0   53.422628
       amtlib.dll   AMTLib (64 Bit)   4.0.0.21 (BuildVersion: 4.0; BuildDate: Mon Jan 24 2011 21:49:00)   1.000000
       amtservices.dll   AMTServices (64 Bit)   4.0.0.21 (BuildVersion: 4.0; BuildDate: Mon Jan 24 2011 21:49:00)   1.000000
       ARE.dll   ARE 2010/12/13-23:37:10   64.449933   64.449933
       asneu.dll    AsnEndUser Dynamic Link Library   1, 7, 0, 1  
       AXE8SharedExpat.dll   AXE8SharedExpat 2011/01/10-23:33:35   64.436825   64.436825
       AXEDOMCore.dll   AXEDOMCore 2011/01/10-23:33:35   64.436825   64.436825
       Bib.dll   BIB 2010/12/13-23:37:10   64.449933   64.449933
       BIBUtils.dll   BIBUtils 2010/12/13-23:37:10   64.449933   64.449933
       boost_threads.dll   DVA Product   5.0.0  
       cg.dll   NVIDIA Cg Runtime   2.0.0015  
       cgGL.dll   NVIDIA Cg Runtime   2.0.0015  
       CoolType.dll   CoolType 2010/12/13-23:37:10   64.449933   64.449933
       data_flow.dll   AIF   2.0   53.422628
       dvaadameve.dll   DVA Product   5.0.0  
       dvacore.dll   DVA Product   5.0.0  
       dvaui.dll   DVA Product   5.0.0  
       ExtendScript.dll   ExtendScript 2011/01/17-17:14:10   61.452840   61.452840
       FileInfo.dll   Adobe XMP FileInfo   5.0   64.140949
       icucnv36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       icudt36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896  
       image_flow.dll   AIF   2.0   53.422628
       image_runtime.dll   AIF   2.0   53.422628
       JP2KLib.dll   JP2KLib 2010/12/13-23:37:10   64.181312   64.181312
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2.1.2.1263  
       MPS.dll   MPS 2010/12/13-23:37:10   64.450375   64.450375
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.4940  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.4940  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.4940  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS5.1   CS5.1  
       Plugin.dll   Adobe Photoshop CS5   CS5  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (64 bit)   2.5.0.232  
       PSArt.dll   Adobe Photoshop CS5.1   CS5.1  
       PSViews.dll   Adobe Photoshop CS5.1   CS5.1  
       SCCore.dll   ScCore 2011/01/17-17:14:10   61.452840   61.452840
       tbb.dll   Threading Building Blocks   2, 1, 2009, 0201  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   2.0.0.15 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   2.0.0.15
       WRServices.dll   WRServices Thursday January 21 2010 12:13:3   Build 0.11423   0.11423
       wu3d.dll   U3D Writer   9.3.0.113  
    Installed plug-ins:
       3D Studio 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Accented Edges 12.0
       ADM 3.11x01
       Angled Strokes 12.0
       Average 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Bas Relief 12.0
       BMP 12.0.2
       Camera Raw 6.7
       Chalk & Charcoal 12.0
       Charcoal 12.0
       Chrome 12.0
       Cineon 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Clouds 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Collada 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Color Halftone 12.0.2
       Colored Pencil 12.0
       CompuServe GIF 12.0.2
       Conté Crayon 12.0
       Craquelure 12.0
       Crop and Straighten Photos 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Crop and Straighten Photos Filter 12.0.2
       Crosshatch 12.0
       Crystallize 12.0.2
       Cutout 12.0
       Dark Strokes 12.0
       De-Interlace 12.0.2
       Dicom 12.0
       Difference Clouds 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Diffuse Glow 12.0
       Displace 12.0.2
       Dry Brush 12.0
       Eazel Acquire 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Embed Watermark 4.0
       Entropy 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Extrude 12.0.2
       FastCore Routines 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Fibers 12.0.2
       Film Grain 12.0
       Filter Gallery 12.0
       Fresco 12.0
       Glass 12.0
       Glowing Edges 12.0
       Google Earth 4 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Grain 12.0
       Graphic Pen 12.0
       Halftone Pattern 12.0
       HDRMergeUI 12.0
       IFF Format 12.0.2
       Ink Outlines 12.0
       JPEG 2000 2.0
       Kurtosis 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Lens Blur 12.0
       Lens Correction 12.0.2
       Lens Flare 12.0.2
       Lighting Effects 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Liquify 12.0.1
       Matlab Operation 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Maximum 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Mean 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Measurement Core 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Median 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Mezzotint 12.0.2
       Minimum 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       MMXCore Routines 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Mosaic Tiles 12.0
       Multiprocessor Support 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Neon Glow 12.0
       Note Paper 12.0
       NTSC Colors 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Ocean Ripple 12.0
       OpenEXR 12.0.2
       Paint Daubs 12.0
       Palette Knife 12.0
       Patchwork 12.0
       Paths to Illustrator 12.0.2
       PCX 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Photocopy 12.0
       Photoshop 3D Engine 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Picture Package Filter 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Pinch 12.0.2
       Pixar 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Plaster 12.0
       Plastic Wrap 12.0
       PNG 12.0.2
       Pointillize 12.0.2
       Polar Coordinates 12.0.2
       Portable Bit Map 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Poster Edges 12.0
       Radial Blur 12.0.2
       Radiance 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Range 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Read Watermark 4.0
       Reticulation 12.0
       Ripple 12.0.2
       Rough Pastels 12.0
       Save for Web & Devices 12.0
       ScriptingSupport 12.1
       Shear 12.0.2
       Skewness 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Smart Blur 12.0.2
       Smudge Stick 12.0
       Solarize 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Spatter 12.0
       Spherize 12.0.2
       Sponge 12.0
       Sprayed Strokes 12.0
       Stained Glass 12.0
       Stamp 12.0
       Standard Deviation 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Sumi-e 12.0
       Summation 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Targa 12.0.2
       Texturizer 12.0
       Tiles 12.0.2
       Torn Edges 12.0
       Twirl 12.0.2
       U3D 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Underpainting 12.0
       Vanishing Point 12.0
       Variance 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Variations 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Water Paper 12.0
       Watercolor 12.0
       Wave 12.0.2
       Wavefront|OBJ 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       WIA Support 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       Wind 12.0.2
       Wireless Bitmap 12.1 (12.1x20110328 [20110328.r.145 2011/03/28:10:30:00 cutoff; r branch])
       ZigZag 12.0.2
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
       Access CS Live
       CS Review
    Installed TWAIN devices: NONE

  • Use of SQL fetchlet to create a custom management plug-in

    Hi,
    I would appreciate if you anyone could help me out on this:
    I need to fetch some data from EMF tables and create a custom Management plug-in in OEM so that it can be monitored from OEM itself. For getting the data from database table i am using SQL fetchlet coz it provides the facility to use SQL statement in it. Following is the code i have developed in target-type.xml file.
    <TargetMetadata META_VER="1.0" TYPE="emf_filer">
    <Display>
    <Label NLSID="emf_filer">Error Management Filer</Label>
    </Display>
    <Metric NAME="emf_filer" TYPE="TABLE">
    <Display>
    <Label NLSID="emf_filer_resp">Response</Label>
    </Display>
    <TableDescriptor>
    <!-- <ColumnDescriptor NAME="tcpPing" TYPE="NUMBER" >
    <Display>
    <Label NLSID="netapp_filer_resp_tcpPing">TCP Ping, Milliseconds</Label>
    </Display>
    </ColumnDescriptor> -->
    <ColumnDescriptor NAME="Status" TYPE="NUMBER" >
    <Display>
    <Label NLSID="emf_filer_resp_status">Status</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="PROGRAM_NAME" TYPE="STRING" >
    <Display>
    <Label NLSID="PROGRAM_NAME">Program Name</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="PROGRAM_TYPE" TYPE="STRING" >
    <Display>
    <Label NLSID="PROGRAM_TYPE">Program Type</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="RICEW_ID" TYPE="STRING" >
    <Display>
    <Label NLSID="RICEW_ID">Rice Id</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="Request_id" TYPE="NUMBER" IS_KEY="TRUE" >
    <Display>
    <Label NLSID="Request_id">Request Id</Label>
    </Display>
    </ColumnDescriptor>
    <ColumnDescriptor NAME="EBIZ_INSTANCE_NAME " TYPE="STRING" >
    <Display>
    <Label NLSID="EBIZ_INSTANCE_NAME">Instance Name</Label>
    </Display>
    </ColumnDescriptor>
    </TableDescriptor>
    <QueryDescriptor FETCHLET_ID="SQL">
    <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property>
    <Property NAME="Port" SCOPE="INSTANCE">Port</Property>
    <Property NAME="SID" SCOPE="INSTANCE">SID</Property>
    <Property NAME="UserName" SCOPE="UserName">apps</Property>
    <Property NAME="password" SCOPE="password">password</Property>
    <Property NAME="ServiceName" SCOPE="INSTANCE">ServiceName</Property>
    <Property NAME="STATEMENT" SCOPE="INSTANCE">
    BEGIN
    SELECT PROGRAM_NAME, PROGRAM_TYPE,
    RICEW_ID,REQUEST_ID, EBIZ_INSTANCE_NAME FROM XX_EMF_MESSAGE_HEADER WHERE STATUS = 'ERROR' AND RICEW_ID = 'INT-DL019';
    END;
    </Property>
    <!-- <Property NAME="SQLINPARAM1" SCOPE="ENV">HOSTNAME</Property>
    <Property NAME="SQLOUTPARAMPOS" SCOPE="GLOBAL">2</Property>
    <Property NAME="SQLOUTPARAMTYPE" SCOPE="GLOBAL">SQL_CURSOR</Property>-->
    <Property NAME="NUMROWS" SCOPE="GLOBAL">40
    </Property>
    </QueryDescriptor>
    <ExecutionDescriptor>
    <GetTable NAME="emf_filer"/>
    <GetView NAME="emf_View" FROM_TABLE="emf_filer">
    <Column NAME="PROGRAM_NAME"/>
    <Column NAME="PROGRAM_TYPE"/>
    <Column NAME="RICEW_ID"/>
    <Column NAME="REQUEST_ID"/>
    <Column NAME="EBIZ_INSTANCE_NAME"/>
    <Filter COLUMN_NAME="REQUEST_ID" OPERATOR="GT">0</Filter>
    </GetView>
    </ExecutionDescriptor>
    <InstanceProperties>
    <InstanceProperty NAME="UserName" CREDENTIAL="TRUE" OPTIONAL="FALSE" NEED_REENTER="FALSE" HIDE_ENTRY="FALSE">
    <Display>
    <Label NLSID="UserName_emf">Username</Label>
    </Display>
    </InstanceProperty>
    <InstanceProperty NAME="password" CREDENTIAL="TRUE" OPTIONAL="FALSE" NEED_REENTER="TRUE">
    <Display>
    <Label NLSID="password_emf">Password</Label>
    </Display>
    </InstanceProperty>
    <InstanceProperty NAME="MachineName" CREDENTIAL="FALSE" OPTIONAL="FALSE">
    <Display>
    <Label NLSID="MachineName_emf">Listener Machine Name</Label>
    </Display>
    </InstanceProperty>
    <InstanceProperty NAME="Port" CREDENTIAL="FAL
    My doubt here is:
    As per Oracle it is importent to use response matrics with status column. How can i accomodate Response matrics with this code. what will be the columns except Status that i need to mention? if i use just one matrics i.e response then what will i use in in FROM clause in ExecutionDescriptor [<GetView NAME="emf_View" FROM_TABLE="emf_filer">]? i wuld appreciate if anyone could clarify my issues.
    Thanks for your help.
    Regards,
    AS

    That is what i am trying to ask..as i will b using 2 dfifferent matrics so i will have to use 2 diffrent QueryDescriptors one for Response matric and one for other one. Now following QueryDescriptor will be added in other(Not Response) matric then what should i add in QueryDescriptor in Response matric?
    Query Descriptor for matric other than "Reposnse":
    QueryDescriptor FETCHLET_ID="SQL">
         <Property NAME="MachineName" SCOPE="INSTANCE">MachineName</Property>
         <Property NAME="Port" SCOPE="INSTANCE">Port</Property>
         <Property NAME="SID" SCOPE="INSTANCE">SID</Property>
         <Property NAME="UserName" SCOPE="UserName">UserName</Property>
         <Property NAME="password" SCOPE="password">password</Property>
         <Property NAME="ServiceName" SCOPE="INSTANCE">ServiceName</Property>
         <Property NAME="STATEMENT" SCOPE="GLOBAL">
              SELECT PROGRAM_NAME,
                             PROGRAM_TYPE,
                             RICEW_ID,REQUEST_ID,
                             EBIZ_INSTANCE_NAME
              FROM XX_EMF_MESSAGE_HEADER WHERE STATUS = 'ERROR' AND RICEW_ID = 'INT-DL019';
              </Property>
    </QueryDescriptor>
    what should be the QueryDescriptor for Response matric?? Will it be same or different?
    Thanks for your help.
    Regards,
    AS
    Edited by: user9959418 on Oct 31, 2008 1:10 PM

  • Solution for sleep issues with external display?

    I had an Early 2011 Macbook Pro that worked quite well with an external display.  I now have a Mid 2012 Macbook Pro (bought 5 days ago, and running 10.10.3) that will not consistently work with the same external monitor.
    I had it working yesterday for a few hours only if I left the MBP with the top open (both the MBP screen and external monitor stayed lit).  But, today it is back to freezing each time the monitor is connected to it.
    I have tried:
    1.  Connecting the external monitor to the MBP with the top open.  Results in the MBP screen now going dark and no signal being passed to the external monitor.  If the external monitor is disconnected, the MBP screens stays dark and the computer is unresponsive requiring a hard restart.
    2.  Connecting the external monitor to the MBP with the top closed.  Results in no signal being sent to the external monitor.  Disconnecting the external monitor and reopening the MBP yields, again, and unresponsive computer which requires a hard restart.
    I have tried three different external monitors, all giving the same result.  The MBP is connect to external power, and I am running the latest OS (10.10.3).
    Any suggestions before I return this to the Apple store in a rage?  :-)

    Hello there, Gaflin.
    I'm sorry to hear you're having so much trouble getting your external display to work the way you are expecting with your new MacBook Pro. The following Knowledge Base article provides a great checklist of steps for troubleshooting the issue you seem to be describing:
    Apple computers: Troubleshooting issues with video on internal or external displays - Apple Support
    No video or no signal, image distortion, "snow," or flickering
    Check connections
    When using an external display be sure to check the following:
    If you're using an Apple notebook, confirm the AC power cable or adapter is securely connected to the computer and the cable providing power to the display is also secure. It is always good to have your notebook connected to AC power when an external display is in use.
    Confirm display adapters are fully seated in their respective connections and that they are supported models and for the computer and display. Refer to these articles to assist you with adapter compatibility and further configuration information:
    Monitor and Display Adapter Table
    About Mini DisplayPort to HDMI adapters
    Apple Mini DisplayPort adapters: Frequently asked questions (FAQ)
    Thunderbolt ports and displays: Frequently asked questions (FAQ)
    Remove all display cable extenders, KVM switches, or other like devices and retest to determine if the issue is resolved.
    Try unplugging the video adapter or cable and then plug it back in.
    If more than one video adapter is in use (or "daisy-chained"), troubleshoot by using only one adapter.
    Example: A mini DisplayPort to DVI adapter connected to a DVI to HDMI adapter is an unsupported configuration because there is a series of adapters in use.
    If available, try using a different display and or adapter (or use a different connector by using DVI instead of VGA, for instance).
    Reset the system
    You can reset the Mac's parameter RAM and SMC.Reset the resolution
    Start by resetting the Mac's parameter RAM. If the display does not come up, was previously set to an unsupported resolution, and still results in no video:
    Start up in Safe Mode.
    From the Apple () menu, choose System Preferences.
    Choose Displays from the View menu to open the preferences pane.
    Select any resolution and refresh rate that your display supports.
    Restart your computer.
    Using Closed lid, Extended Desktop, or Mirroring display modes
    When using multiple displays, information can be presented in a number of ways. For more information and what modes are supported by your Apple product refer to:
    Apple Portables: How to use your computer in closed lid (display closed) mode with an external display
    How to use multiple displays with your Mac
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How do I connect an external microphone to a Macbook Pro with Retina display ?

    How do I connect an external microphone to a Macbook Pro with Retina display ?
    Alternatively how do I connect an audio input at a level that would normally have gone into a 'line input' socket ?

    Plug it into the linein/headphone jack if there's just one.  It'll switch between the two modes automatically depending on what you plug into it.

Maybe you are looking for