Change the default entity in the lookup window in PhoneCall Form

Hello,
I'm trying to write a javascript to change the default entity in the lookup window for the 'from' field to use the Contact entity. Right now Account is the default entity.
So this is what I have:
document.getElementById("from").setAttribute("defaulttype", "2");
var ViewGUID= "a2d479c5-53e3-4c69-addd-802327e67a0d";
Xrm.Page.getControl("from").setDefaultView(ViewGUID);
I got the code actually from this website #34: http://garethtuckercrm.com/2011/03/16/jscript-reference-for-microsoft-dynamics-crm-2011/
I attached the function into the form and publish the solution however it's still showing Account as the default entity.
Any idea is appreciated. Thanks.
-tri

Chitra Swaminathan wrote:
Hello,
We are using Lookups in our application which stores the locale specific information. We have a drop down in the UI which will give the language names like 'American English', 'Canadian French' etc. When chosen 'Canadian French' we need to change the nls_language in the db to refresh the contents in the lookup generated component to show in French. How to acheive this?
We are able to switch the bundles, upon change in locale in the run time. But the AM setting - to set the DB session is what we are looking for. Would appreciate your help on this.
Thanks,
Chitra.to localize ADF-BC you need to set the jbo.default.country and jbo.default.language property to language value in Application module configuration
other way is to override the prepareSession method in ApplicationModuleImpl class to call some JDBC statement to set the dbms_application_info.set_client_info to value of the language.
if you can provide more details about your lookup table and data structures then one can be more helpful
Zeeshan

Similar Messages

  • Can you change the default size of the Clip Monitor window in PE 13?

    Can someone please confirm whether it is possible to change the default size of the clip monitor window in Premiere Elements 13. Searching this question brings up a reply to someone who asked the same question about PE 7; the answer then was to open the clip monitor window, adjust its size and then leave it open for the duration of the editing session. Is this still valid for PE 13, or is there some other way of adjusting the default size of the window so that the next session opens at the same size as the last one? Help appreciated.
    CD.

    Major Sparky
    Just a supplemental observations
    There are certain actions even in the project that remains open that will close the opened, sized, and positioned Project Window.
    Also
    1. If you go to dual monitor system, typically the program does not remember the dual monitor setup when the project is saved closed and reopened.
    2. If you use the project without a dual monitor system and save close project with the Preview Window open, sized, and positioned, when you re-open the project, the Preview Window is gone and would need to be reopened, sized, and positioned again.
    ATR

  • Windows cannot load the user's profile but has logged you on with the default profile for the system.

    My Windows 7  crashed a couple days ago after a windows update, I got this message.
    Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    I restarted the machine and got this message
    Windows was unable to load the registry. This problem is often caused by insufficient memory or insufficient security rights.
    DETAIL - The process cannot access the file because it is being used by another process. for C:\Users\TEMP\ntuser.dat
    I checked the event Log I found these .
    Windows cannot load the user's profile but has logged you on with the default profile for the system.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Windows has backed up this user profile. Windows will automatically try to use the backup profile the next time this user logs on.
    Windows cannot load the locally stored profile. Possible causes of this error include insufficient security rights or a corrupt local profile.
     DETAIL - The process cannot access the file because it is being used by another process.
    This is the first error in the event viewer after a successful logon
    The description for Event ID 34 from source ccSvcHst cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
     If the event originated on another computer, the display information had to be saved with the event.
    ccSetMgr
    Windows cannot load the user's profile but has logged you on with the default profile for the system.
    DETAIL - Access is denied.
    Looking at the Logs all I can tell is that after the Desktop Window Manager started if caused this error.
    The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    then this one
    The Desktop Window Manager has exited with code (0x40010004)
    Then this before it shutdown.
    The User Profile Service has stopped.
    I started up the PC and the first message I got was
    How can I get access to my user profile? do I need to createa new Administrator account? Please help
    The EventSystem sub system is suppressing duplicate event log entries for a duration of 86400 seconds. The suppression timeout can be controlled by a REG_DWORD value named SuppressDuplicateDuration under the following registry key: HKLM\Software\Microsoft\EventSystem\EventLog.

    hi do the following
    1. In Search programs and files (Windows 7) area, type in regedit, and press Enter.
    2. If prompted click yes,
    3.  expand the following HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    4. click the sid that related to your admin profile (if you not sure, click each sid and in turn look to the right hand side of registry editor it will show who that sid is related to one of the registry files should hae in description localhost\admin or
    something similair)
    5. right click the sid and press delete.
    6. restart your machine and log back on with the admin account, this will then rebuild the admin profile... dont worry when it loads and none of your personal settings are saved or files or folders... go to c:\users
    in here you will see two folders for the admin account, one will be just admin and the other most likely admin.localhost
    i cant remember which one is which but just check both, one will still have all your files and folders in it.
    i suggest making a backup of your data before doing this incase something does go wrong, but ive had this happen many times in a domain enviorment and has worked for me everytime.

  • How do I change the default locations for the iTunes music and iPhone back-up folders?

    My computer's hard drive is partitioned, with one partition having all of the Windows system files, and the other having all of my documents, music, videos, etc.  When I installed iTunes, it automatically created its music and iPhone folders on the Windows partition.  I've been able to change the default save folders for other programs to the second partition, but I'm having troubles finding this option in iTunes (I even went back and re-installed it to see if I could find it that way, but no dice).  Is there a way to change the default folders for the iTunes library and iPhone files?  It takes up A LOT of space on my Windows partition, so it would be very great to get that moved over.
    Thanks!

    You can't selectively move individual folders withing the iTunes  folder, but you can move the entire folder to, say, an external dive. To delink the iTunes application to the new library location:
    Open iTunes while holding down the Option key (Mac) or Shift key (Windows).
    In the resulting dialog, click the Choose Library button.
    Select the iTunes folder you moved to the external hard drive.
    Click Choose (Mac OS X) or Open (Windows) and then choose the iTunes Library file inside .

  • How can I opt out on the default setting for a split window in Firefox 3.6.12 ?

    Since I upgraded to Firefox 3.6.12, the page opens up with two vertically divided panes. Each pane displays a different bookmark. The left pane is generally only about an inch wide and can only be expanded to about 3 inches wide. In that mode, it is pretty much useless and only provides a distraction. How can I opt out on what appears to be the default setting for a split window with two vertical panes.
    At this point, I am discontinuing using Firefox in favor of Safari because of this change in the default window.

    Opening in the side bar is the default for bookmarks that are created via a link or button on a website.
    You can check the Properties of a bookmark via the right-click context menu in the side bar (Ctrl+B; Cmd+B on Mac).
    In the Bookmarks Manager (Bookmarks > Organize Bookmarks) you can click the More button in the Details pane at the bottom right.
    Make sure that "Load this bookmark in the side bar" is not selected.

  • How to change the default Layout Of the Error Page (to hide Home link)?

    How to change the default Layout Of the Error Page (to hide Home link)?
    If a user want to view some page that he/she don't have access to view it, a error page with this message will be displayed.
    "You do not have permission to perform this operation. (WWC-44131)"
    The error page, have in the Upper right page, Home link and Help link.
    My question is, How to Hide HOME link and HELP link in the Page?
    I try to find the template of the page, but failed to do that.
    Can anybody help?..it urgent.
    Thanks.

    Modifying the error page is not supported in the current release of Portal (9.0.2). You will be able to do this in the upcoming 9.0.2.6 release, planned for the end of May.
    Regards,
    Jerry
    PortalPM

  • How can I retrieve the IP address of the default printer from the windows registry

    I am using LabVIEW 7 on windows NT4 computers.
    I have a SubVI that I use to ping the network printer to make sure that the printer is on line prior to sending a print at the end of testing a unit.
    If LabVIEW does not get a reply to its ping data is saved locally and the user informed.
    I would like to modify the VI that pings the printer to ping the default printer of the computer on which the VI is running.
    I would be grateful if anyone can show me how to retrieve the default printers IP address.

    Hi Stuart,
    The registry entries for User's Default Printer are:
    Win 9x:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr​entVersion\Windows]
    NT/XP:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows]
    "Device"="Printer Name"
    The device is the name used to represent the printer in the registry. The name can be found in the [HKEY_CURRENT_USER\Printers\Settings] key.
    Machine name is part of the "Printer Name," which you can use to ping directly (i.e., w/out having to look-up its IP address).
    Hope this helps.
    Regards,
    Khalid

  • HT204150 How do I change my default email on the "Me" contact from a Facebook email to my normal email address in the same contact?  Or at least change it for the autofill information?

    How do I change my default email on the "Me" contact from a Facebook email to my normal email address in the same contact?  Or at least change it for the autofill information?
    Perfernece for contact to change.  Do I just have to dis-associate my contact fromt the facebook account?  Is only the autofill changable?

    If you allow Facebook to access your contacts and you have the @facebook.com email alias turned on, it will add the @facebook.com email to your contact info, and because it has the fixed label of "email" it overrides every other email address.
    They didn't fix this in iOS 8.
    There are two ways to remove the @facebook.com email from your contact info:
    If you don't need your Facebook friends and their info updating your contacts, go into iOS Settings -> Facebook and turn off access to Contacts.
    If you don't use your @facebook.com email address (all it does it forward to the primary email address) you can go into the Facebook app, More -> Settings -> General -> Email -> and uncheck "Use your Facebook email". Removing it from Account Emails does not work, you have to turn it off. Once you do this, go to iOS Settings -> Facebook and turn Contacts off and on again to make it update your info. The @facebook.com address should be removed.

  • How do you change the default size of the print batch size for mail merge in Publisher 2010?

    I appended this question to another thread with the same topic but have not received a reply, so I'll try with a new question. Publisher 2010, when doing mail merge, will only merge and print two records at a time. How do you change the default size of
    the print batch size? This is for a 4 page document, 8 1/2 x 11, printed two sides on 11 x 17. I've tried all the suggestions that were in the other thread. The response that was marked as the answer by the moderator is incorrect and does not work. Nothing
    suggested in that thread works. A registry fix that worked for Publisher 2003 won't work because the print batch size key does not exist in the registry for Pub 2010. At least not that I can find. Printing to an XPS document doesn't work. It asks for a filename,
    prints 2 records, asks for new file name, prints 2 records, asks for new file name, and so on. The same for printing to a PDF document. Merging to a new Pub document doesn't work. When I print that job every other sheet is turned over. I.e., sheet one has
    pages 1 & 3 on top, next sheet has 3 & 4 on top, and so on. This makes it impossible to run them through the folder. The same thing happens when I print that complete merged document to XPS or PDF. I have the latest drivers installed for our printer, a Toshiba
    2500C copier/printer connected via network. What do I need to do to to change the batch size to something reasonable, like 100 records?

    It's been two weeks since I posted this question. What does it take to get an answer? I cannot believe it's being ignored, nor can I believe that someone in MS doesn't have an answer.

  • Anyone know how to change the default font for the new pages? Apparently it does not even come up when I search the 'Help' section of Pages. The level of incompetence in this new version seems breathtaking

    I cannot find how to change the default font in the new Pages. It does not appear in the Help area when I search for it. I am never sing Helvetica for my standard documents and cannot seem to change it. What am I missing? And why does Pages help not have an easy answer?
    dan

    You open a blank template and change the font to you liking. Remember to also get all the styles changed with new font. Then Save As Template. Now you have a template with the font you like.

  • When creating a fillable form and saving it as a pdf, the default color of the data fields is a light blue. How do I change the color to something else that will copy better, e.g. a light yellow?

    When creating a fillable form and saving it as a pdf, the default color of the data fields is a light blue. How do I change the color to something else that will copy better, e.g. a light yellow?

    It's probably the fields highlight color of the application, which you can change via Edit - Preferences - Forms.

  • How do I change the default language for the spell checker? - solved, sort of...

    As the previous thread was closed without actual resolution - https://support.mozilla.org/en-US/questions/941350?esab=a&s=&r=0&as=s
    I managed to solve this on my end by just reinstalling firefox using the localisation of the default dictionary language i wanted from here - http://www.mozilla.org/en-US/firefox/all/
    A bit of a shame that the main download page doesnt select the geographically relevant localisation for you and even more so that changing the default language for the in built spell checker is so kak. oh well.

    Right-click a web form on any web page.
    Languages > Add Dictionaries
    *Install the Language pack
    You can look here for dictionaries:
    * http://addons.mozilla.org/firefox/language-tools/
    * http://kb.mozillazine.org/Spell_checking
    *http://kb.mozillazine.org/Dictionaries
    *http://support.mozilla.org/kb/Using+the+spell+checker
    Right-click a web form on any web page.
    Languages > Add Dictionaries
    *Install the Language pack

  • How can I change the default program for the external applications editor?

    I have read the on line directions for this and it reads "select a file type in the left pane."   I do not see where this is in the left pane.  All I see in the left pane is "Browser start pages" and a "How do I " Pane.  Nothing with file types.

    Hello,
    Welcome to Adobe Forums.
    In order to change the default program for the external applications editor. Please follow the steps as mentioned below.
    Click on Edit menu then choose preferences.
    Once the preferences dialog box open.
    click on file editors.
    On the Left pane you will find all the file types which you want to edit .
    On the right hand side you will find the editors for that specific file type.
    If you want to add any other application you need to click on + symbol at the top of right pane.
    Select the path of that application which you want to apply.
    clcik on open.
    If you want to make it primay you can click make primary option available at the right hand top. For more detials please check the screenshot below.
    Regards,
    Rajeev

  • Change de default camera from the lock screen in iOS 5

    Is there a way to Change de default camera from the lock screen in iOS 5?
    There are way better camera apps (camera+) than de default in the lock screen in iOS 5, is there a way to change this?

    No.

  • How can I change the default settings in the new pages?

    How can I change the default settings in the new pages?

    Create a new document and change the settings to what you want i.e. Times New Roman, 12 pt. and save as a template from the Edit menu. Then go to Pages Preferences (Cmd +,) and under general change the template to open to your saved template that you want as your default setting.
    Hope that helps.

Maybe you are looking for

  • "Adobe Reader could not open 'filename.pdf' because it either...

    The full error message reads: "Abobe Reader could not open 'filename.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)." I understan

  • Family Apple IDs

    I have had iPads since they first came out and we have several iPads in the family used by both adults and dids. Through the years we have acquired dozens, if not hundreds of apps, especially Kids' games. With the new family sharing I set up Apple ID

  • Premiere CS4 with XDCAM files in MOV wrapper

    Hi. I am using a JVC HM700 camera. This camera shoots in 35 mbit XDCAM EX format.  The XDCAM footage is "wrapped" in a MOV file . To have an MP4 (Sony standard wrapper) I need to plug an SxS recorder on the back that activates the codc/wrapper option

  • Block status field in hr abap

    Hi, Could any one tell me where I can find the Block status field in HRtables... I need to include an additional field to indicate the block status of the cost centers. Please help me asap. Regards, Charan

  • Unable to start all 3 instances in RAC

    Hello All, I got the following error while trying to restart a 3 node RAC database. OEM reported two out of three nodes to be down. We also noticed that the cluster_database parameter was set to "False" and the cluster_database_instances integer was