Correct way of creating DNS record

I want to create a DNS record for below
Project.mumbai.contoso.com with IP 215.67.X.X
I already have existing forward lookup zone created for contoso.com.
Is it better to create a host record 'Project.Mumbai' with ip 215.67.X.X?
or create one more forward lookup zone 'Project.Mumbai.Contosso.com' and cerate A record for 'Projec'?
Mahi

Hi Mahi,
Are you asking if you should create "project.mumbai" in the contoso.com domain, or if you should create "project" in the mumbai.contoso.com domain?
The choice depends on how you want to manage these records. If there will be a need to manage contoso.com and mumbai.contoso.com separately, then you should create two domains. You might have this need, for example, if the contoso.com domain is very
large, or if you want to host mumbai.contoso.com on a different DNS server, or if mumbai.contoso.com corresponds to an Active Directory domain elsewhere.
If none of these things are true, it will probably be easier to manage a single domain so you can just create contoso.com and add the host project.mumbai in this single domain.
-Greg

Similar Messages

  • The correct ways to create a helper functions in C++

    Hi there
    I have many functions which I use in my projects from different classes.
    Which is the most correct ways to create a helper functions.
    Thanks

    1) Split your project into different versatile sub-modules each handle by an object. The module should be reusable later on.
    2) Each module or class should be declared on separate .hpp and .cpp files. ( for reusability and portability ) 
    3)Make each module as much self contained as possible(independent) . That way you can reduce unnecessary linking with other files and reduce dependency on helper files. Compiling and working on only one module at a time will be easier and faster.
    4)When your code is better organize , coding will more systematic, less error prone, easy debugging and more fun in programming.
    For example in my project I create classes like
        i) CDatabaseManager - to take care of SQL database
        ii)CPlaylistManager - to deal with complex playlist
       iii)CGraphicManager - to deal with graphic overlay over video
       and so on.
    Thanks. I would like to know how organize it ? Is it right to write helper function in namespace or class ? And is it right to make
    static functions ?

  • What is the correct way to create links to my website?

    Hi
    My site is finally finished and I am now looking to list it on various directories on the internet to generate links to my site.
    When my site opens in a browser it shows up as http://ateccomputerservices.co.uk
    I know this question has been asked many times on the internet but what is the correct way to post my link?
    I know I should be consistent and use www or not on every link but none of the articles tell me whether I should use http:// or not when linking.
    So for example, should I use...........
    http://ateccomputerservices.co.uk
    or
    http://www.ateccomputerservices.co.uk
    or
    ateccomputerservices.co.uk
    or
    www.ateccomputerservices.co.uk
    and should I put /index at the end?
    Once I've decided on which link to use should I redirect all the other addresses to the main one?
    I'm pretty new to web design so I need some advice from some seasoned experts
    Thanks for taking the time to read my questions!

    When you browse to http://ateccomputerservices.co.uk and to http://www.ateccomputerservices.co.uk do you get the same page?  Most hosts will automatically create a CNAME record for both 'www.example.tld' and 'example.tld' when the hosting account is created, but not all do.  If that second CNAME record is not created, then you must always use the "www" prefix.
    If the reference to your site is a text reference only, then you could just use 'www.ateccomputerservices.co.uk', but if it's a link you should always make the LINK part (the HTML href attribute's value part) as a fully qualified URL, i.e., 'http://www,ateccomputerservices.co.uk' or 'http://ateccomputerservices.co.uk':
    <p>Click <a href="http://ateccomputerservices.co.uk">here</a> to link to my site .</p>
    When a browser requests that domain from the server, the server will fetch the first file it finds with a 'default filename' (usually 'index.html' or 'index.php' or 'home.html' or...) and upload that to the browser, so there is no need to further specify the filename - the default is when no filename is given.
    Once I've decided on which link to use should I redirect all the other addresses to the main one?
    I'm not sure what you are asking here....
    I'm pretty new to web design so I need some advice from some seasoned experts
    In the immortal words of comedian Myron Cohen, "everybody gotta be somewhere".

  • Creating DNS record

    Hi,
    Our external facing web server was recently moved to an external hosting provider but when they set it up they set the address as Home - Dilworth School instead of Home - Dilworth School. There is a database backend to this and changing the name of the server would be a major undertaking. The problem is that any emails that are generated from within this website have links pointing to Home - Dilworth School. The company that manages our external DNS records have put in an appropriate record so people outside get sent to the right place but I cannot work out how to do this internally.
    When I go to create a resource record in the DNS/DHCP management console it insists that I must fill in the owner name field so I am not sure how to get around this.
    thanks
    Keith

    Thanks - that worked. Windows would not let me do it - tried to create a DNS key when I asked it to create a resource record. Running the DNS/DHCP management console directly on the server worked.

  • Correct way to create Photoshop graphics?

    I have to create some graphics for a client and their logo includes a circle. I don't want to mess up the quality of the logo or make the circle an egg, etc. What is the best way to create the graphics. This is a 4x3 project. Do I start with a document that is 720x540 with square pixels and import the logo in or do I start with it at 720x480? What image size and pixel aspect ratio is best.
    Thanks,
    John

    also, make sure that your image mode is RGB, not CMYK. and if you are going to want transparency in your file, save as a .psd

  • Best way to create detail records based on data in the master record..

    Hi,
    I am using 11gr1p1 and ADF stack.
    I have a master detail relation between 2 records. I have EO and entity associations. I want to create a number detail records based on the data on the master record.
    For example
    I have a Stay Record which has begin and end date I need to create the DailyStay Record for each day for the range of begin and end date of StayRecord.
    Where should I do this? In EO implementation or in VO implementation.?
    Thanks

    Where should I do this? In EO implementation or in VO implementation.?If your child record should in no case be created without those default values, then EO.
    Otherwise, to increase reusability of your EO, then in the VO over the view link (i.e. other VO's would still be able to use your EO without having the child VO created with these defaults).
    This way your ViewObjects can also be used in a context where you don't want to copy from the masterFrank, If there's another UI flow that is so drastically different that it does not want things defaulted, then it probably needs a different VO altogether (on the same underlying EO though)

  • Need to find a faster way to create many records

    There are times in my application where I need to create on the order of thousands of new records.
    The current workflow is to create objects by parsing a file that the user wishes to import. After creating the objects, I get a reference to my entity and use the AddNew() method. With a for loop I create the new record and fill in the fields from the objects.
    I then display the new records in a datagrid. From here, the user can save to the database after reviewing the datagrid.
    Parsing the file, instantiating the objects, and filling the datagrid are all extremely quick but the process of calling AddNew() and actually filling the record is very slow. 
    It seems like I am very CPU limited. My first thought was to use multple threads to create the new records(aka AddNew(), not for saving) but I don't know of any way to do this since Lightswitch requires all access to be from the screen logic thread.
    Is there a better way for me to do this?

    I have a couple of thoughts for you:
    I think that you will have to upload the file to the web server and load from there.  That will get you the most improvement in speed and that may be fast enough.
    The next thing that you can do is to use a stored procedure to insert the records instead of Entity Framework via AddNew().  You could use Michael's code to insert records individually, which would be much faster than AddNew, or you could do a batch
    insert for best performance.  If you are only inserting a thousand records or so, it won't make much difference.
    See the following for what I have found to be the fastest insert method:
    Inserting records using stored procedure with table-valued
    parameter
    Another user used this method and got the following results:
    Got it to work in a small test program entering 19MLN records and the results are just fabulous:
    vb.net record entry on the server -> 8 hours
    stored procedure per records -> 30 minutes
    stored procedures with table parameter -> 3 minutes
    (That's 100,000 records per second).
    Another thing that you might want to do is to first insert the records to a temp table; the user could then approve/reject records.  If they approve, run a stored proc to copy from the temp table to the final table.  (When I say temp table,
    I don't mean a real SQL server temp table, but another table that is just used to hold the data while reviewing.)
    Mark

  • Correct way to create a small independent clip from a larger clip

    In a recent post:
    Tara Easley replied to: How to export a short clip from within a larger scene?
    With:
    "After you make your in and out points, highlight the one minute segment and go to Modify. Then click "Make Independent Clip". It should save just the 1 minute clip in your bins section. You will need to change it's name, but that should work."
    My question is whether this process will make an exact "stand alone file" with duplicate quality as the original clip or is there another method that must be used to maintain the original quality of the original clip and get a new independent file?
    TIA,
    Ken

    MartinR wrote:File > Export > QuickTime Movie.
    Okay, that is as I thought. FCE cannot help me 'chop' out a portion of the original file as it came from the camera (because it is in the wrong codec to work in FCE.)
    Would Final Cut Pro be able to work with more file formats? Or does it also need to have cuts converted to AIC?
    I think, because I am a beginner, that I am barking up the wrong tree about editing original footage since it really would also have to be converted to AIC before it would be useable in FCE. I"ll just be sure to save all of my original files from the camera and then 'crop out' what I need as separate files for archive by the method you named above.
    Thank You,
    Ken

  • Creating a little GUI with adding DNS record functionality

    Hi all,
    Creating a DNS record (A record) is pretty straight forward in Powershell. I wonder if somebody knows how to create a little GUI with the powershell commands in the background to create DNS records.
    For example something like a HTML form in where u can enter the DNS name, the Zone and the IPv4 address. Click Add and Powershell will add it on the background. I cannot find any good information on this when i google on it.
    Thanks!

    Hi Bennekommer,
    I‘m writing to check if the suggestions were helpful, if you have any questions, please feel free to let me know.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community 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 Support, contact [email protected]

  • Can we generate the Offfice 365 MX-Token needed for the MX-DNS-Record by ourselves?

    Hi there
    As a hosting company we programmed a DNS-zone-editor in which our customers can edit their DNS-zone. A new feature we are offering is a so-called "DNS-Template-Service", in which our customers can select predefined record templates like GoogleApps
    and then trigger by one click the installation of the predefined records.
    We also would like to offer them "Office 365" as a template. According to this article https://support.office.com/en-ie/article/Create-DNS-records-at-any-DNS-hosting-provider-for-Office-365-7b7b075d-79f9-4e37-8a9e-fb60c1d95166#BKMK_add_CNAME we
    understand that all we need to do is to add a couple of CNAME, TXT and SRV records which is great.
    However, there is also an MX record with a dynamical component (the "MX-Token") that is required:
    <MX token>.mail.protection.outlook.com
    We understand that this token can be fetched by the customer from their office installation. However that would break the purpose of our templating system that is designed to work like an on/off switch.
    So our question is if there is any way that our system could generate this token by itself since we have knowledge of the customers domain anyway.
    According to some customers who already installed those records manually we can see some patterns:
    Example 1: domain1.com results in an MX with a value of
    domain1-com.mail.protection.outlook.com
    This is easy: just replace the dot with a hyphen.
    However for domains with hyphens in the name a special conversion is made and appended on the back of the first part: 
    Example 2: domain-withdash.com results in an MX with a value of domainwithdash-com01e.mail.protection.outlook.com
    Example 3: dom-ainwithdash.com results in an MX with a value of domainwithdash-com0i.mail.protection.outlook.com
    Example 4: doma-in-withadash.ch results in an MX with a value of domainwithdash-com01bb.mail.protection.outlook.com
    So what is the algorithm for this (probably bidirectional) conversion?
    Thanks for letting us know and make it easier for our customers to use office 365 with their own domain name.
    Regards
    Lukas
    Developer @ cyon GmbH

    We actually spent the last 1.5h to reverse-engineer the pattern and (hopefully) found the right answer on how these hyphen-replacements are substituted.
    * This functions generates a token as done in office 365
    * @return mixed|string
    private function getOffice365MxToken($domain)
    $delimiter = '0'; // delimiter between the domain part and the hyphen replacement part
    $token = $domain;
    $hyphenReplaceToken = '';
    // split domain string into chunks of 4 chars
    $chunkSize = 4;
    $chunks = str_split($token, $chunkSize);
    // transform the hyphens (their position) in the domain name to an alphanumerical character string
    $skipCount = 0;
    $intOfA = ord('a'); // get the decimal value of the letter 'a' as start value
    foreach($chunks as $chunk){
    $digit = $intOfA;
    for ($i = 0; $i < $chunkSize; $i++){
    if('-' === $chunk[$i]){
    $digit += pow(2, $i);
    if($intOfA === $digit){ // if the value is a it means no hyphen was found
    $skipCount++;
    continue;
    if (0 !== $skipCount) {
    $hyphenReplaceToken .= $skipCount;
    $hyphenReplaceToken .= chr($digit);
    $skipCount = 0; // rewind skip count
    if(strlen($hyphenReplaceToken) > 0){
    $token .= $delimiter . $hyphenReplaceToken;
    $token = str_replace('-', '', $token); // remove - from domain name
    $token = str_replace('.', '-', $token); // replace dots with -
    return $token;
    Short-hand explanation: The pattern showed that the domain string simply gets chunked into pieces of 4 chars. For each setting at which hyphen(s) can be located at the index value (seen as bit mask 0124) is added up. The resulting number we get per chunk
    then can be added to starting decimal value of the letter 'a' (97) and thus gives us another letter that substitutes the hyphens locations in this chuck. If no hyphen is found, the algo simply counts for how many chunks none were find and adds this up sa a
    number.
    These concatenated letters + skip-numbers then result in the replacement token that gets appended on the end of the domain name (hyphens removed, dots replaced with hyphens). 
    Oh and yeah, between these two parts a '0' is added as delimiter.
    That's it. I hope we got it correct.
    Regards
    Lukas @ cyon GmbH

  • Dnscmd's OpenAcl option doesn't seem to change DNS record permissions

    I'm creating DNS A records with dnscmd /recordadd, and I can't see a difference in the A record's permissions whether I use the OpenAcl option or not. Is this normal?
    I was expecting with OpenAcl to see permissions similar to Write permissions for Authenticated Users or something. Instead I can't see any difference in the permissions at all and the permissions for non-admins are Read permissions for Everyone.
    The DCs run win 2008 R2 SP1. The syntax I've been using for dnscmd.exe is:
    dnscmd /recordadd mydomain.com mycomputer /aging /openacl A 192.168.0.123
    I want to migrate from Infoblox DNS to AD-integrated. So I'm expecting to export to csv from Infoblox, reformat the csv file a bit and use dnscmd.exe to read the reformatted csv and create DNS records in AD. I'll also enable the option on the Windows computers
    to register their DNS records.
    I think that the records that dnscmd.exe creates in AD won't have permissions that allow the Windows computers to overwrite them unless I use the OpenAcl option. But OpenAcl doesn't seem to make any difference to the permissions. Very confusing! Thanks for
    any help.

    Thanks Kumar and sorry for replying so late. What you said is correct and what solved my problem was running Windows Update. I was testing using W2K8 R2 with SP1 but no updates after that. After I ran Windows Update, then creating a DNS record using dnsmd.exe
    with the /OpenAcl argument did indeed set the permissions on the DNS record so that Authenticated Users could write to it.

  • DHCP creating DNS entries in domain root.

    Hello,
    I have a Windows DHCP server in a child domain that serves leases to Windows and Linux clients.  It also create DNS records for all current leases as well.  Recently I noticed it it was creating the DNS records for a few Linux machines in the domain
    root DNS and not the client domain DNS. 
    Is there a way to prevent the dynamic account from creating dns records in the domain root dns?
    Thanks!
    Shawn

    Can we get some more info on your config?
    - Is this only affecting non Windows boxes?
    - Are your DNS zones forest integrated or just domain integrated?
    - Are the DNS servers configured for the scope in the child domain and only hosting the child DNS zones?
    - Is the DHCP in the child or root domain?
    When dynamic DNS registration happens, it sends the DNS update to the DNS server.  What I'm looking for right now in the technical manual is whether the DHCP server sends it to the scope's DNS servers or if it's using it's own DNS servers.  If
    the DNS server is in the root domain, maybe that could be an issue.
    - If you find my posts to be helpful (or the answer), please mark them appropriately.
    Chris Ream

  • DNS record ownership and the DnsUpdateProxy group

    I have a 2 x 2003 domain controller that have DNS and DHCP Services installed
    I was thinking of configuring DHCP to use a service account to update DNS records.
    If I set this, do the DHCP Servers need to be members of the DNSUpdateProxy security group for the service account to work?>

    I have to agree with John here. I don't think it's reasonable to just say 'ms told us so'. We need a
    technical before and answer is given. I have multiple DHCP servers and I use a security account on them to register the records and never use the
    DNSUpdateProxy Group and I have no problems. My thinking is this:
    Assume we are using Integrated Secure Zones in AD:
    Scenario 1:
    Windows DHCP server i registering records on behalf of clients
    Not a member of DNSUpdateProxy Group and not using dedicated account
    Records will have owner as dhcpserver$  and only that account can update
    This is a problem if that DHCP server fails
    Also, non Windows DHCP server with no AD account cannot update
    Scenario 2:
    Windows DHCP server i registering records on behalf of clients
    Member of DNSUpdateProxy Group and not using dedicated account
    Records will have owner as SYSTEM  and authenticated users can updated meaning any user or client on that domain
    No problem if that DHCP server fails as any other authorized DHCP server can update
    Non Windows DHCP servers can updated if they have a domain machine account
    Scenario 3:
    Windows DHCP server i registering records on behalf of clients
    Using a dedicated account
    Records added with owner same as this dedicated account
    Another DHCP server that also uses this same account can updated the records
    A non windows DHCP server that can use this account can also update the records
    Now, can someone from MS please clarify the technical reason they say that in Scenario 3, you must add the DHCP servers to the
    DNSUpdateProxy group ?
    http://technet.microsoft.com/en-us/library/cc780538(v=ws.10).aspx
    I guess this link didn't help?
    DNS Record Ownership and the DnsUpdateProxy Group
    "... to protect against unsecured records or to permit members of the DnsUpdateProxy group to register records in zones that allow only secured dynamic updates, you must create a dedicated user account and configure DHCP servers to perform DNS dynamic updates
    with the credentials of this account (user name, password, and domain). Multiple DHCP servers can use the credentials of one dedicated user account."
    http://technet.microsoft.com/en-us/library/dd334715(WS.10).aspx
    Just to add:
    Why is the DnsUpdateProxy group needed in conjunction with credentials?
    The technical reason is twofold:
    DnsUpdateProxy:
     Objects created by members of the DNSUpdateProxy group have no security; therefore, any authenticated user can take ownership of the objects.
    DHCP Credentials:
     Forces ownership to the account used in the credentials, which the DnsUpdateProxy group allowed to take ownership other than the registering client.
    Otherwise, the default process is outlined below, and this applies to non-Microsoft operating systems, too, but please note that non-Microsoft operating systems can't use Kerberos to authenticate to dynbamically update into a Secure Only zone, however
    you can configure Windows DHCP to do that for you.
    1. By default, Windows 2000 and newer statically configured machines will
    register their own A record (hostname) and PTR (reverse entry) into DNS.
    2. If set to DHCP, a Windows 2000, 2003 or XP machine, will request DHCP to allow
    the machine itself to register its own A (forward entry) record, but DHCP will register its PTR
    (reverse entry) record.
    3. If Windows 2008/Vista, or newer, the DHCP server always registers and updates client information in DNS.
       Note: "This is a modified configuration supported for DHCP servers
             running Windows Server 2008 and DHCP clients. In this mode,
             the DHCP server always performs updates of the client's FQDN,
             leased IP address information, and both its host (A) and
             pointer (PTR) resource records, regardless of whether the
             client has requested to perform its own updates."
             Quoted from, and more info on this, see:
    http://technet.microsoft.com/en-us/library/dd145315(v=WS.10).aspx
    4. The entity that registers the record in DNS, owns the record.
       Note "With secure dynamic update, only the computers and users you specify
            in an ACL can create or modify dnsNode objects within the zone.
            By default, the ACL gives Create permission to all members of the
            Authenticated User group, the group of all authenticated computers
            and users in an Active Directory forest. This means that any
            authenticated user or computer can create a new object in the zone.
            Also by default, the creator owns the new object and is given full control of it."
            Quoted from, and more info on this:
    http://technet.microsoft.com/en-us/library/cc961412.aspx
    More on this discussed in:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/6f5b82cf-48df-495e-b628-6b1a9a0876ba/regular-domain-user-uses-rsat-to-create-dns-records?forum=winserverNIS
    If that doesn't help, I highly suggest to contact Microsoft Support to get a definitive response. If you do, I would be highly curious what they say if it's any different than what I found out from the product group (mentioned earlier in this thread).
    And of course, if you can update what you find out, it will surely benefit others reading this thread that have the same question!
    Thank you!
    Ace Fekay
    MVP, MCT, MCSE 2012, MCITP EA & MCTS Windows 2008/R2, Exchange 2013, 2010 EA & 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php
    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

  • Is it a correct way to get oracle skin?

    I have created a custom skin by coping oracle’s css file (oracle-desktop-10_1_3_1_0-en-ie-6-windows-s) from the cache memory of the solution of SRDEMO application. Then registered that with a name (eg MySkin) in adf-faces-skin.xml and configured an application to use this new skin.
    When I did the SRDEMO again with the new skin that I created, the pages look completely different even though I didn’t modify the original skin copied from the solution of SRDEMO.
    1.     Why does it give different look and feel?
    2.     Is it a correct way to create a custom skin?
    3.     If the answer to the question is no, is there any way to get oracle skin?
    Thank you

    Hi Frank,
    Thank you for your reply,
    I don’t think that I messed up the configuration file. I have done the following.
    1. Copied css file from cache and saved that file as css/myskin.css
    2. Then I registered myskin.css in adf-faces-skins.xml as follows
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <skins xmlns="http://xmlns.oracle.com/adf/view/faces/skin">
    <skin>
    <id>myskin.desktop</id>
    <family>myskin</family>
    <render-kit-id>oracle.adf.desktop</render-kit-id>
    <style-sheet-name>css/myskin.css</style-sheet-name>
    </skin>
    </skins>
    3. Then I configured SRDemo to use that skin in adf-faces-config.xml as follows.
    <?xml version="1.0" encoding="windows-1252"?>
    <adf-faces-config xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <skin-family>myskin</skin-family>
    </adf-faces-config>
    Could you please let me know whether it is correct or not?

  • What is the correct way to add styling to drag-and-drop created calendars?

    I have a working instance of a rich client calendar. I generated the view with the required fields (start, stop, provider, ...), put it into the App Module, and dragged it onto a JSF page to create a calendar.
    Next I created an activityScope object in a class called CalendarBean (no inheritance)
    Class CalendarBean()
    private HashMap<Set<String>, InstanceStyles> activityColorMap;
    +..+
    +public CalendarBean() {+
    super();
    activityColorMap = new HashMap<Set<String>, InstanceStyles>();
    HashSet setEd = new HashSet<String>();
    HashSet setLen = new HashSet<String>();
    setEd.add("Work");
    setLen.add("Home");
    activityColorMap.put(setEd, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.ORANGE));
    activityColorMap.put(setLen, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.RED));
    +}+
    +}+
    Next, I linked this up as a backing bean and associated the ActivityStyles of CalendarBean to it:
    +#{backingBeanScope.calendarBean.activityColorMap}+
    I populated some records in the database with properties "Work" and "Ed', but they show default blue.
    As I understand it, I need to do something with the getTags() method of the underlying CalendarActivity class, but I'm not quite sure how to do that.
    Took a stab at creating a class, CalendarActivityBean, that extended CalendarActivity, and pointed all the CalendarActivity references I had to the new class, but it didn't seem to fire (in debug), and I got into trouble, when inserting records, with
    public void calendarActivityListener(CalendarActivityEvent calendarActivityEvent) {
    currActivity = (CalendarActivityBean) calendarActivityEvent.getCalendarActivity();
    being an illegal cast
    What is the correct way to add provider-based styling to drag-and-drop create calendars?
    Ed Schechter

    A colleague of mine was kind enough to solve this:
    The calendar has ActivityStyles property = #{calendarBean.activityStyles}
    CalendarBean looks something like this:
    package com.hub.appointmentscheduler.ui.schedule;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Set;
    import oracle.adf.view.rich.util.CalendarActivityRamp;
    import oracle.adf.view.rich.util.InstanceStyles;
    +public class CalendarBean {+
    private HashMap activityStyles;
    private String dummy;
    +public CalendarBean() {+
    +// Define colors+
    activityStyles = new HashMap<Set<String>, InstanceStyles>();
    HashSet setPending = new HashSet<String>();
    HashSet setArrived = new HashSet<String>();
    HashSet setApproved = new HashSet<String>();
    HashSet setCompleted = new HashSet<String>();
    setApproved.add("APPROVED");
    setPending.add("PENDING");
    setArrived.add("ARRIVED");
    setCompleted.add("COMPLETED");
    activityStyles.put(setApproved, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.GREEN));
    activityStyles.put(setPending, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.ORANGE));
    activityStyles.put(setArrived, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.PLUM));
    activityStyles.put(setCompleted, CalendarActivityRamp.getActivityRamp(CalendarActivityRamp.RampKey.LAVENDAR));
    +}+
    +public void setactivityStyles(HashMap activityStyles) {+
    this.activityStyles = activityStyles;
    +}+
    +public HashMap getactivityStyles() {+
    return activityStyles;
    +}+
    +}+
    Now, go into the Bindings tab on the calendar page, double click the calendar binding, and specify the column you've defined as the calendar's Provider in the Tags dropdown.
    Should show colors.

Maybe you are looking for

  • Seeing all open windows in 10.7

    I just upgraded from 10.6.8 to 10.7.5. I miss being able to use a hot corner to see all open windows. I cannot find that in 10.7. Does anyone know where it is?

  • MIR5 Payment block field

    Hi experts, I am using TCode MIR5 with a standard layout on an ECC6.0 system. The field 'Payment Block' is showing as null for the range of invoice parties that I have selected to display. When I drilldown into the invoice the field 'Pmnt Block' from

  • Business Content instalation & Transportation steps

    Hi, iam a new in Sap bi implementation project.so iam gettiong somany doubts abot Business Content instalation & Transportation can you help me above concepts step by step, Thanks, chal

  • Ovi Suite 3.0 Not Connecting to 5230 via Bluetooth

    Hello, Got the 5230 for Christmas, very very pleased with it, but I have run into a small snag. I have onstalled Ovi Suite 3.0 on my laptop (Vista) and bluetooth visability is on on both mobile phone and laptop. I can connect to the device through  m

  • Difference between MiniSAP 4.6D and MiniSAP Netweaver

    Hi guys, I was confused with MiniSAP 4.6D and the MiniSAP Netweaver.What is their difference? I am searching for the MiniSAP where I could practice BASIS and ABAP, like R/3 system. But then, there is also a MiniSAP Netweaver. Could you tell me the di