CRM 2013: Custom button to Open multiselect lookup with custom view

Hello Everyone,
Looking for your suggestions to implement the following requirement.
We want to implement a custom button on the sub grid of Custom Entity (Lets say, "PersonMapping"). The custom button should open another entity multi select lookup(Lets say, "Person"). Till here we could achieve by directly opening the
multi lookup url of the Person using "Window.showModelDialog". But in this lookup, we want to set our custom view as default view. Please suggest some solution to achieve this.
Thanks.

Hi,
First of all I would advice you to post this question in the new CRM 2007 forum.
We have created our own button that calls an URL in a separate window. Here is some coding from the method CALLBACK~GET_BUTTONS which may inspirere you:
CONCATENATE 'javascript:window.open'
              lv_http
              '","Print","resizable=yes,height=850,width=700,dependent=yes,status=1");'
         INTO lv_java.
  ls_button-type     = cl_thtmlb_util=>gc_icon_print.
  ls_button-tooltip  = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SALESQUOT_PRINT' ).
  ls_button-on_client_click = lv_java.
  ls_button-page_id  = me->component_id.
  ls_button-enabled  = abap_true.
  APPEND ls_button TO rt_buttons.
  CLEAR ls_button.
  ls_button-text     = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SORDER_CREATEFOLLOW-UP' )."#EC NOTEXT
  ls_button-tooltip  = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SORDER_CREATEFOLLOW-UP' )."#EC NOTEXT
  ls_button-on_click = 'FOLLOWUP'.                          "#EC NOTEXT
  ls_button-page_id  = me->component_id.
  ls_button-enabled  = lv_persistent.
  APPEND ls_button TO rt_buttons.
  CLEAR ls_button.
/Anders

Similar Messages

  • How can I create a custom button for opening a form?

    I have a parent form having child forms. In my main form I want to create custom buttons for opening child forms. I want to use master-detail form but there are more than one child forms, and in master-detail form I can only create one detail form. So I will create a form based on a table and in that form I will call the child forms by custom buttons. Can I do that?
    Thanx,
    Gulsah.

    This can be easily done. First open up two instances of your Portal. In one window, you will need to go into your component you wish to link FROM. In the other window you will need to go into your component you wish to link TO. In the component you wish to link TO there will be a moduleid. Note this somewhere. Then, you will see an area that says: "Call Interface: Show". Click on this. (In the window you are linking to.). In this window, you will see a bunch of stuff. At the bottom you will see a URL call. This is the call you need to use. At the top, it explains each piece of the URL call. Just subsitute YOUR appropriate information into the URL call. In the form you wish to link FROM, create a button. Once you create this button, it will appear at the bottom, click on it and you will see an area to insert a Javascript. Click the onClick and insert:
    //this is the variable you want to pass from one form to the other
    get_field_name = getField(this.form,'COLUMN_NAME_IN_DATABASE');
    //this is so you can open the "child" form
    window.open('/pls/cc_prod/DAD_NAME.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=MOD_ID_HERE&p_arg_names=_sessionid&p_arg_values=&p_arg_names=COLUMN_NAME_IN_DATABASE&p_arg values='+GETFIELD_NAME+'&p_arg_names=_COLUMN_NAME_IN_DATABASE_cond&p_arg_values=%3D');
    In the fourth tab, where it says, "....before displaying form" insert the following: (This will tell the form how to handle the getField function.)
    htp.p('<script language="JavaScript1.3">
    < !--
    function getField(form,fieldName)
    var objName = "";
    var tmp = "";
    var dAction = "";
    var sel_idx = 0;
    var cnt = 0;
    var instance = 0;
    var slicedName;
    var fillData = new Array();
    for (var i = 0; i < form.length; i++)
    slicedName = form.elements.name.split(".");
    tmp = slicedName[2];
    instance = parseInt(slicedName[3],10);
    if (!tmp)
    continue;
    objName = tmp;
    if (objName == fieldName)
    return form.elements[i].value;
    //-->
    </script>');
    I hope this helps.
    null

  • Custom button to open navigation menu + scripts?

    I just tried to make a custom button to open/close the navigation menu. Is there a custom script available for this? Does anyone know if there are any free scripts available for download/import for Adobe Captivate? Is there a way to do it within Captivate without custom scripts?
    Best, Steve

    Hi Steve,
    No apologies, each app has its proper jargon, but wanted to be sure.
    You do not need a script. Just point to your expand and collapse button in the Settings of the TOC. They will replace the tiny little double arrows that are the default icons.  On the screenshot I highlighted that portion of the Settings, open the browse icon to point to your button.
    Lilybiri

  • Opening a file with custom FileDialog. (VERY URGENT)

    hi everybody,
    I have a problem and stuck. I have developed a MDI application that provides all function like open saved files, create new, edit and lots of other. It only opens, save ,edit etc the graphical diagrams inside JInternalFrames. I have an icon on my desktop when clicked opens this Application. Just like Editplus, Word or some other application when you click on the icon it opens that. Same way I have created such functionality.
    Now instead of this I have created a custom FileDialogfrom which the user selects this application and is opened. Now I have small icon for this FileDialog on the desktop when opened gives the interface to select the files to be opened. My FileDialog just looks like the FileDialog but some more functionality and more components like JComboBox, Jlist, JtextField, JButtons etc. in it and have removed some of them. I am extending JDialog. But now my probelm is when you select a file and click open, it should open the selected file. How can I achive this functionality in my custom FileDialog as I am not extending FileDialog and as it is built in the FileDialog. How can I open the files with any extension in it's related application e.g .doc files to be opened in MicrosoftWord, .txt to be opened in notepad, .c or .cpp in Visual Studio C++ etc.
    How can I put this kind of functionality in my custom FileDialog. It's really important for me please any comments will help me alot. Thanks for the help

    Hello,
    I think you can write :
    Runtime.getRuntime().exec("start.exe " + MyFileDialog.getDirectory() + MyFileDialog.getFile());
    So, "start.exe" choose the application (not valid for NT machine), ".getDirectory()" return the PATH and ".getFile()" return the NAME.
    Best regards from France
    Thierry

  • Customer discount when netting vendor payment with customer receivable

    Hi Guru,
    We built the netting process in which we net the vendor payment with customer receivable.  There is a problem.  The payment program takes the discount off from the receivable even after the term discount period.  e.g. we have a receivable from the customer with a 1% discount with one month term which expires on July 31.  I do a payment run with a posting date of Aug 26.  The payment program still gives the 1% discount to the receivable thereby reducing the amount of receivable and increasing the amount of our net payment. 
    Is this a glitch?  OR have I missed any configuration??
    Thanks
    Linda

    Hi
    while running the APP for a vendor, the system will suggest all open items due from vendor account and customer account.
    This can be changed at the time of APP.
    Assign points if helpful,
    Regards
    Sunil

  • Having templates appear when users click the "New Document" button in a document library with custom content types

    Hi all,
    I'm using SharePoint Online, but I'm seeing the same behavior in an on-prem 2013 instance as well. My situation is this:
    - I've created a document library
    - I've created a custom content type and attached a custom document template to it
    - I've assigned the custom content type to the document library, and disabled the default "document" option
    What I'm expecting to see is that when I browse to the document library and click "new document", that either a) a picklist appears allowing me to specify the document template I want (using the custom template I specified) or b) open the custom
    template itself. That doesn't happen - instead, when I click new document I'm prompted to upload a file, which seems to contradict the whole point of using a custom content type/custom document template combo.
    Am I missing something? The custom template isn't in the Forms library, which seems to be a problem if I wanted to use the custom document template instead of the default.
    Ideally I'd like a menu like the one shown here:
    http://social.msdn.microsoft.com/Forums/en-US/59ce3bd8-bf7f-4872-ae76-60d8c81dfc32/display-content-types-on-new-document-button-in-document-libraries?forum=sharepointgeneral, except with me being able to control the list of items that is shown.
    Any ideas? Thanks!

    Hi Brain,
    What you have done is by design behavior.
    If you want to show the Office document templates list (e.g. below image from your above referenced link) to select when click "+new document" link, this will need to install Office Web App 2013 which provides this feature,
    you can new document and see it is using WopiFrame.aspx page, please see more from below article about how to configure OWA 2013 for SharePoint 2013 on-premise.
    http://technet.microsoft.com/en-us/library/ff431687(v=office.15).aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • VS 2013 SP4 crashes when opening a Form with large Numbers of elements on Windows 8 32-Bit

    Hi, I have made a C#-Project, which is fully functional but opening the main form causes VS 2013 Sp4 to crash. I can build the solution an open all Files. Only when i open the form in Designer, VS crashes and want to restart. There are no Log-Entrys. Only
    in the event-log there is an Event-Id 1000 with code 0x0000409. I can open the form on two other Windows 8.1 64-Bit machines without Problems. Looking on "free Mem" while opening in Resourcemonitor it crashes when at least are around 190 MB free.
    How can I investigate this Problem?

    Hi Frank,
    If the same solution works well in other machine, I doubt that it is your Environment issue.
    Of course, to make sure that it is not the project files issue, please create a blank solution, and then add all project files to this new solution, test it again.
    Maybe you could delete .suo file in your solution folder, and then re-open your .sln file, test it again.
    If there are many projects in the same solution, I suggest you create different solutions for them, test it again.
    But as your previous description, I doubt that it would be related to your VS/Windows Environment.
    Please disable all add-ins in your VS, maybe you could run your VS in safe mode, test it again.
    http://msdn.microsoft.com/en-us/library/ms241278.aspx
    To make sure that it is not the account issue, please run your VS as the admin.
    In addition, the most important issue is that we have make sure that it is not the Window Configuration issue.
    For example, when you run your windows for a long time, or your task manager is so busy, or other processes take high CPU and so on, I think they will impact your VS or other software performance.
    Please restart your PC, close other processes which take high memory, please also close third party tools like firewall or the Anti-virus. If you open a few VS Editors, just close them, and then just open one, test it again.
    Best Regards,
    Jack 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Command button doesn't render properly with customized images in ADF 11g

    Hi all,
    I have these elements in the .css file:
    /** button **/
    .AFButtonServerText:alias {
    background-color:#daebf2;
    color:#000000;
    font-size:100%;
    font-family:Luxi Sans, Dialog;
    vertical-align:middle;
    -ora-text-antialias:true;
    .AFButtonServerTextDisabled:alias {
    background-color:#f5f5e4;
    color:#aaaaaa;
    font-size:100%;
    font-family:Luxi Sans, Dialog;
    vertical-align:middle;
    -ora-text-antialias:true;
    .AFButtonStartIcon:alias {
    /*content:url(/skins/images/buttonStart.gif); */
    content: url("images/buttonStart.gif");
    width:8px;
    height:20px;
    .AFButtonStartIcon:alias:rtl {
    /*content:url(/skins/images/buttonEnd.gif); */
    content: url("images/buttonEnd.gif");
    width:8px;
    height:20px;
    .AFButtonEndIcon:alias {
    /*content:url(/skins/images/buttonEnd.gif); */
    content: url("images/buttonEnd.gif");
    width:8px;
    height:20px;
    .AFButtonEndIcon:alias:rtl {
    /*content:url(/skins/images/buttonStart.gif); */
    content: url("images/buttonStart.gif");
    width:8px;
    height:20px;
    .AFButtonTopBackgroundIcon:alias {
    /*content:url(/skins/images/buttonTop.gif); */
    content: url("images/buttonTop.gif");
    width:1px;
    height:2px;
    .AFButtonTopBackgroundIcon:alias:rtl {
    /*content:url(/skins/images/buttonTop.gif); */
    content: url("images/buttonTop.gif");
    width:1px;
    height:2px;
    .AFButtonBottomBackgroundIcon:alias {
    /*content:url(/skins/images/buttonBottom.gif); */
    content: url("images/buttonBottom.gif");
    width:1px;
    height:2px;
    .AFButtonBottomBackgroundIcon:alias:rtl {
    /*content:url(/skins/images/buttonBottom.gif); */
    content: url("images/buttonBottom.gif");
    width:1px;
    height:2px;
    I am expecting to get some round corners in the button, but it fails in 11g. This only happens in ADF 11g, in 10g, it works. I use JDEV 11.1.1.4.0 and <tr:commandButton> in the UI. What have I possibly missed?
    Thanks.
    Shawn
    Edited by: shawn_abc on May 17, 2012 3:52 PM
    Edited by: shawn_abc on May 17, 2012 3:56 PM

    Hi Frank,
    Yes, I was searching in this url previously: http://myfaces.apache.org/trinidad/skin-selectors.html and couldn't find it either. Is there any way to achieve what I intend to do like using af|commandButton?
    Thanks,
    Shawn

  • Open / initialise ME21n with customized default Document Overview

    Hi all,
    I created a customer field in the Purchase Requisitions. Now I would like to create a program to start ME21n with the Document Overview on and a customized SAP Query from the infoset '/SAPQUERY/MEBANF' to implement in enhancement 'MEQUERY1'. In this Query I would like to find the Purchase Requisitions with a value which corresponds with the value of the customer field.
    My obstacles are the following:
    1) How can I pass a value through to the customized SAP Query
    2) How can I customize the default setting of the Document Overview
    Please don't post a list of other (i think irrelevant) User-exits. I'm aware of the fact that I shouldn't BDC ME21n.
    Thank you in advance.
    Regards,
    Sander

    Hi Ram,
    Can you please share your thoughts on the document overview functionality in the purchase order screen, becuase I have a requirement to see the MPN number in that Doc overview for the selected Purchase requisitions. I have changed the layout and added the field MPN number but somehow this field is showing completely blank.
    Regards
    Shane

  • Customized R12 Standard Purchase Order report with custom data and layout

    Hi all,
    We need to customize the seeded Purchase Order report in R12 to add an additional section to include cost data coming from our custom table. The key is that our customized report should be launched instead of the seeded report via various PO forms (e.g. View Document menu option, PO Communications form to email, fax and print PO, etc).
    I manually set up a custom Document Type Layout for the Document "Standard Purchase Order" to use my customized template so my custom layout is shown instead of the R12 layout, but according to Oracle support the report can only draw data from a set of seeded Oracle views like po_headers_xml,po_lines_xml etc.
    Any suggestions how we can add our custom data to PO report in R12?
    Thanks! Mike.

    Hi Mike
    thats a tough one, the PO generation is a bit restrictive to say the least when it comes to customizing. It sounds like you have worked out how to get your own template in there to render the PO.
    On the data front, all I can think of is to customize and replace the seeded PO view with one that incorporates your extra data.
    Or, get into the page customization world and write your own extract and format concurrent program/procedure and then hook it onto the buttons where you want to launch it.
    You might have more luch, response wise from the EBS PO forum.
    Procurement : Procurement
    OAF: OA Framework
    Regards
    Tim

  • How to open PDF file with the view I wish without many clicks

    I am getting many many scanned files daily and I'd like to able to skim thru each file as fast as possible.
    Since the way each file scanned is consistent, when I open it, I am clicking a button to rotate it counterclock, then click zoom-in a few times to be able to read the top portion to see if the file is of my interest.
    Can we customize the way the files are opened?  I wish that once I open it, it will be rotated (so that I don't have to tilt head to read it), and zoom in big enough for me to read it.
    I did try (I am new to this) "accessabitly settup assistant", but couldn't achieve my desired effect.
    Any suggestions?
    thanks.
    JQ

    Thank you for the suggestions. Appreciated it.
    Actually when I asked whether they could scan it differently, I was told "no" for that type of scanner they have, and they have been reading it the same way as I just start to do, for years.
    Maybe someone knows about what scanners have the feature to do these tricks?
    I tried the preference setting. It's still less manageable. However, I manage to be able to click 3 buttons to get to the top portion to be readable.
    First, I rotate it counterclock (which mess up the view zoom in setting preference).
    Then I click to "show one page" button;
    Then I clcik to make the document to fill the width. (at this point, the zoom in is about 79%).

  • Custom flash player (not flv) working with custom flash content

    I am working on a custom player of swf content. Some of the
    content the player loads and plays is custom Flash content (swf
    files) such as games.
    Depending on how the external content is built, sometimes the
    pause button for the player will not pause everything in the loaded
    content swf.
    Does anyone know of a standard approach to such a problem?
    Thank you.

    Windows 7, and I have tried it on chrome, firefox, and IE
    Date: Wed, 12 Feb 2014 06:38:40 -0800
    From: [email protected]
    To: [email protected]
    Subject: Flash player not always working
        Re: Flash player not always working
        created by Mike M in Using Flash Player - View the full discussion
    What OS?
    http://mmonlinedesigns.com/images/os.png
    What browser?
    http://mmonlinedesigns.com/images/browsers.png
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6113122#6113122
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6113122#6113122
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6113122#6113122. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Using Flash Player at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Unable to open PDF file with PDF Viewer, whereas same file opens smoothly on IE/Chrom.

    I am using pdf.js for one of my client. If i explicitly copy and paste URL of my pdf, it opens perfetly fine on IE and Chrome but doesn't open on FF at all. My application uses pdf.js and it doesn't open my pdf on any of the browser. is there any fix for this problem? Error I get is
    An error occurred while loading the PDF.
    PDF.js v0.8.298 (build: 81fa4a0)
    Message: InvalidPDFException

    Did you get any solution to this?

  • MY FIREFOX does not have a URL box, refresh, back/forward buttons or a tool bar with file, view, tools, etc.

    <blockquote>Locking thread.<br>
    Please continue here: [/questions/786744]</blockquote><br>
    Hi again,
    There's no bar that says file, tools, view, (other?) OR URL box, reload button or back/forward buttons, so I can't even do some of the things people are suggesting, like run in safe mode. This requires using the file button. The suggestions I'm getting all require using the bar that I don't have. I also uninstalled and reinstalled firefox to see if it would change, but it didn't. I've still got the same problem.
    Would LOVE to take care of this soon. It's causing me to put some projects on hold. Annette

    See your original question: https://support.mozilla.com/en-US/questions/786744#answer-142144

  • CRM 2013 Opening salesorder record results in blank page

    I am using CRM 2013 on-premise and I'm having an issue viewing Order records. I can see the list of Active Orders, but when I click an Order record to open it, I get a blank page.
    I have tried the following to fix this:
    Cleared my cookies and cache
    Navigated to another Org under the same URL
    IIS reset on the web site
    Full server reboot
    I have found several posts saying this is a known bug in CRM 2013 and the "fixes" were the items listed above. Has anyone else run into this issue and not been able to resolve using the aforementioned work-arounds?
    I also get an additional error when I try to navigate away from the blank page:
    Microsoft Dynamics CRM Error Report Contents
    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Unable to get value of the property 'ClientVariables': object is null or undefined</Message>
       <Line>2</Line>
       <URL>/_common/JsProvider.ashx?ids=1959345455-451858892-1713948411-1401263868-1250882489-367493978-19173614-574022791-696891199-2007586035-1552783829&ver=1250620516</URL>
       <PageURL>/main.aspx?etc=1088&extraqs=%3f_gridType%3d1088%26etc%3d1088%26id%3d%257b8029E1FC-4FB8-E411-9406-00155D106900%257d%26rskey%3d706276367&pagemode=iframe&pagetype=entityrecord&rskey=706276367</PageURL>
       <Function>anonymous(){returnthis.get_$L_0().ClientVariables}</Function>
       <CallStack>
        <Function>anonymous(){returnthis.get_$L_0().ClientVariables}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; BRI/2; MS-RTC LM 8; InfoPath.3)</BrowserUserAgent>
       <BrowserLanguage>en-us</BrowserLanguage>
       <SystemLanguage>en-us</SystemLanguage>
       <UserLanguage>en-us</UserLanguage>
       <ScreenResolution>1920x1200</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2015-03-30T12:47:28</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>1033</OrgLanguage>
        <OrgCulture>1033</OrgCulture>
        <UserLanguage>1033</UserLanguage>
        <UserCulture>1033</UserCulture>
        <OrgID>{0E1EFE15-0471-E411-93FE-00155D106900}</OrgID>
        <UserID>{15167AD7-C474-E411-93FE-00155D106900}</UserID>
        <CRMVersion>6.1.0.581</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>

    wilson5301 wrote:
     When he tries to open up a PDF, Internet explorer will open a new blank window.
    Open a PDF from where:
    saved locally on the computer?
    from an online link?
    If from an online link, I have seen the same before.  This usually occurs if the server where the document is located is very slow.  Retrying (F5) usually resolves the problem.
    P.S. the latest secure version of Reader 7x is 7.1.4!

Maybe you are looking for

  • Lost support for CR2 (Canon RAW) in After Effects following AdobeCameraRAW 8.4.0.199 update

    Has Adobe dropped Canon RAW support in After Effects? I do timelapses.  I grade in Lightroom, create xmps, then drag the folder containing the CR2s and xmps from the Finder window into After Effects to create the sequence. I was post-processing timel

  • ITunes Library relocation from mac to windows

    Hi All, So my 3 year old iMac G5 died about a week ago (failed logic board). I wanted to know if i can relocate my itunes library to my windows machine. Now, i've copied the entire library to the win-doze and did the "new library" feature by holding

  • How to open dialog with three fields in Jframe

    hi.. i have a Jframe current using actionlistener once user click on the "Add" button the applicatoin requires him to enter few things before him proceed to next window. may i know how to do it?>

  • Photoshop CS6 using Start up disk

    Hi I am editing some large PSB's in CS6 but even though my scratch disks are assigned to seperate drives photoshop still seems to be using my startup disk and filling it up very quickly. It is fine in CS5 which is leading me to think that maybe the a

  • [SOLVED] Cannot boot (doesn't look like i915 bug)

    I can't boot my laptop.  Immediately after pressing enter in grub, I see black.  I put my laptop to sleep when it had about 10% battery remaining, and I'm guessing that it ran out of juice before I plugged it in. My last successful boot was just afte