Converting Local resource to corresponding Enterprise resource using Macro

Hi Folks,
Using Macro, we could replace a local resource with an enterprise resource. But what we want to achieve is replacing local res with
corresponding Enterprise resource. 
Can anyone help here? Thanks.
Best Regards,
Anuja

Unfortunately it is not just a property wich is required to change the local resource into an enterprise resource. Project will overwrite the local resource's metadata with the enterprise resource metadata (calendar, rate, custom fields...). It could be
quite complicated to override this process and require a complex coding solution.
Why not asking the users to first create the project team from the enterprise resource pool, so they'll use from the beginning enterprise resources and will not have the dialog box while saving the project?
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller |

Similar Messages

  • Resource Center - Need to change a Local Resource to an Enterprise Resource

    The Resource Record for a resource was accidently deleted.  This resource was still assigned to active project tasks at the time of the delete.  A new Resource Record was created but it has the resource as a Local Resource.  How can I move
    this resource back to the Enterprise Resource Pool?
    As a Local Resource the Assignment Owner field on his assigned tasks are not populating, so he cannot see any tasks on his timesheets.  Also, the resource cannot be assigned to any new project tasks because he cannot be added to the Project Enterprise
    Pool.
    Attempted to remove the Resource Record that was created using Delete Enterprise Objects -> Resources and Users but since the resource is Local and not Enterprise his record is not showing to select it for delete.
    Would the Admin Restore->Enterprise Resource Pool and Calendars functionality put his original record back in place?  I understand only one version of this backup is kept but that should be the version we currently have.  What data might be
    lost using this functionality?  Any chance other users would be adversely impacted?
    We are using Project Pro 2010

    Hi Dennykat,
    As mentionned in your previous post, restoring the resource pool should work, since it is restoring resources with their metadata and with the exact same UID. Thus the deleted and restored enterprise resource should have everything back (assignments, timesheets...).
    Since I never tested such as process, I strongly advice to test it in the dev environment on a simple test case.
    I remember that if also adviced you to recreate the enterprise resource and type in the resource sheet on one of the resource's project the exact enterprise resource name (exact same syntax), so Project should ask you when saving if you want to replace the
    local resource by the enterprise one. Can you confirm that it didn't work?
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Replacing local resources with enterprise resources on assignments

    Hi,
    After migrating our PS2007 environment to 2013 we encountered a severe problem with the Timesheet view, it seems to be corrupt. We decided to move the projects from one 2013 instance to another, we did this by exporting the projetcs to MPP files and the
    publishing them to the new insance and we also used the FluentPro migrator 2013 tool. In both situations for each project we get prompted if the local resources should be replaced by the Enterprise resources found on the PS2013 server, we would very much like
    that but this feature doesn't seem to work. We have to add the Enterprise resources manually and then replace the local resources one by one on the assignments. Since we have quite some projects with assignments this is undoable. Is this a known issue or are
    there perhaps some work arounds?
    Rgds, Frank
    Frank Jutte Winvision (http://www.winvision.nl) Project Manager / EPM Consultant

    Frank,
    This is a known issue with import project function. Have you installed latest CU on Project Server as well as Project Pro 2013?
    http://www.projectserverhelp.com/Lists/Posts/Post.aspx?ID=211
    Thanks Gaurav Wason MCITP, PMP

  • When I load Illustrator creative suit (5.5) on my new computer, it loads Then I put in the serial number, which is correct, but when i go to click on the program to use it it says ERROR: localized resource file from this program could not be loaded. pleas

    When I load Illustrator creative suit (5.5) on my new computer, it loads Then I put in the serial number, which is correct, but when i go to click on the program to use it it says ERROR: localized resource file from this program could not be loaded. please re install of repair the application and try again. I have done this and it's still not working                  

    anomaly jade,
    You only need to use the serial number during installation.
    Have you, at least seemingly, been able to install, and then you are unable to start up?
    If that is the case, you could try to reinstall using the full three step way:
    Uninstall, run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Is it possible to update standard rate for an enterprise resource using CSOM

    We are facing issues while updating standard rate for any enterprise resource using CSOM. The field standard rate is not available in the enterprise resource. Is it possible to update the standard rate for any resource using CSOM ? 
    Thanks in advance for any help.

    Hi Vikas,
    You can do it via the PSI.
    Please find below a blog post with a PSI code sample for updating the resources standard rate:
    https://epmxperts.wordpress.com/2011/01/30/update-resource-cost-rate-using-psi/
    In addition, here is a blog post by Brian about a PSI bug while updating the resource rate:
    http://blogs.technet.com/b/projectsupport/archive/2013/02/12/project-server-resource-rates-changed-with-psi-not-seen-in-project-professional.aspx
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Use Local Resource(Webcam/Speaker) with VNC Viewer like RDP (MS)

    Hi All,
    I have got Latest Mac Mini 2012 Oct Edition with 10.8.2 . Most of the time i connect my mac mini using VNC Viewer. However i can't use local resource like webcam/Speaker/Drive in Mac Mini.
    Source (VNC Viewer) Laptop - Linux - I use Vncviewer here.
    Target - Mac mini.
    For example :- When i connect PC1(Win) to PC2(Win)  using MS  RDP then  i can use PC1's resource on PC2 remotely.
    Link for ref: http://windows.microsoft.com/en-IN/windows7/How-can-I-use-my-devices-and-resourc es-in-a-Remote-Desktop-session
    Please advice if we can get it done using vncviewer or i need some other tools.
    Regards

    Hi All,
    I have got Latest Mac Mini 2012 Oct Edition with 10.8.2 . Most of the time i connect my mac mini using VNC Viewer. However i can't use local resource like webcam/Speaker/Drive in Mac Mini.
    Source (VNC Viewer) Laptop - Linux - I use Vncviewer here.
    Target - Mac mini.
    For example :- When i connect PC1(Win) to PC2(Win)  using MS  RDP then  i can use PC1's resource on PC2 remotely.
    Link for ref: http://windows.microsoft.com/en-IN/windows7/How-can-I-use-my-devices-and-resourc es-in-a-Remote-Desktop-session
    Please advice if we can get it done using vncviewer or i need some other tools.
    Regards

  • Found a bug? Adding alot of resources to a task creates a local resource on the server.

    Hi Guys,
    I'm working with a client on building a Project Server 2013 environment and I came cross something that struck me as odd. I hope some of you will be able to reproduce the issue and maybe point me into the direction of a hotfix or
    a report that say's it’s a known bug?
    Currently the client is working with a Project Server installment 15.0.4420.1017 and I have reproduced the issue in a 15.0.4481.1005 (March 2013) environment AND on a Project Online tennent.
    I have these resources, all are enterprise resources without any custom fields active (all are specific work resources):
    ABC EDIT Manufacturing Technology HBO
    ABC EDIT Manufacturing Technology JRACAD
    ABC EDIT Manufacturing Technology JRHBO
    ABC EDIT Manufacturing Technology LBO
    ABC EDIT Manufacturing Technology MBO
    ABC EDIT Manufacturing Technology PROM
    ABC EDIT Manufacturing Technology SRACAD
    ABC EDIT Manufacturing Technology STAF
    Now I build a new Project using the standard Enterprise project template that comes with the product.
    I start with a single task that takes me 2 months (or any duration actually). The task is set to fixed duration after this. Now I add all the 8 resources in one go using the dropdown box in the Resource names column in the Tasks summary
    view. I save and publish the project. After this I check the project in and open it with Project Professional.
    When looking at the Resource sheet I see that the following resource is now created as a local resource “ABC EDIT Manufacturin” and not all resource assignments are on the task anymore. The resources ending with “SRACAD” and “STAFF” don’t
    appear to have any assignment anymore.
    Help me out here, am I missing something? Can you reproduce the situation in your environments?
    Kind regards,
    Erik

    Hi Prasanna,
    I am aware of the character limit. However, that pop up doesn't show up when using the situation as described in my post. I did get the message when I added one resource at a time
    and after a while it did tell me I had too much resources on that task. The web version then came with the message:
    "The resource list is too long. A resource list that contains more than 256 characters cannot be edited or deleted on the To line of a message. Use the resource information dialog
    box to edit long resource names."
    However it did not come up in the situation as described above.
    Regarding your suggestions:
    1) Shorter resource names would help for only a short while. Because adding more resources to a single task will again generate the issue. For instance: if I add 30 resources to
    a task, with all a character length of 10 I will run in the same issue. Best practices set aside of course, I know that adding 30 resources to a task is bad mojo.
    2) Project Pro cuts the assigning of resources also, with giving the error message similar to the one above. But rather than creating a new local resource, Pro just assigns the
    task to 6 out of the 8 resources I have added to the task. Which is better, if only the client worked with Project Professional...
    I hope you come up with something during your tests…

  • Project Server 2010 - Import Project Wizard - Local Resource Import Error

    Using Project Server 2010 SP2 with admin rights when I encountered the following error:
    Steps:
    Upon importing a local mpp file with Import Projects Wizard
    Mapped Resources.  Some were mapped to enterprise resources and others were left as local.
    Following completion of import process (mapped task fields, and save), the resources that were marked as "keep as local" were imported to the server as enterprise resources.
    I have never encountered this issue with previous versions of project server and am wondering if anyone else has run into the same issue and if there is a patch?  The error is consistently repeatable and I will check utilizing the account
    of someone without admin rights to see if it happens there as well. 
    It appears that in proceeding to validation step, the import field is automatically defaulted to Yes when proceeding to step 2.  If the user doesn't manually flag this back to No, then the resource is imported to project server.

    Hi Luis,
    I just ran a quick test and I couldn't reproduce your issue with PS2010 SP2. My local resources have been kept as local resources after the import process whereas the resources with a similar name than enterprise resources have been mapped with enterprise
    resources.
    Not sure which CU I have but I'd suggest you to upgrade to the
    latest CU.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • WebView's default location for local resources

    I did a bunch of searching but have not been able to see where the default path location is for WebView when resources, such as images, css or html files, are specified locally.
    In other words, if I specify a <img src="pic.png"/>, where does the resolution to the pic.png occur assuming that the html was loaded using loadContent("...html page as a string...").
    I have a number of local web pages to display with customized content and I need to specify many different local resources, images, javascript and stylesheets. The topmost web page is loaded as a classpath resource, converted into a string then loaded using WebEngine.loadContent. The location property is blank in this case.

    Well, I really need this to work, so I pushed on. It seems that there is no good way to anchor the "location" if you load WebEngine using loadContent. So I went ahead and experimented with an URL handler. Since my application does not use any other components that set the URL handler factory, I set my own and created a classpath URL handler. If you use OSGi there are nicer ways to set this, but the code below worked for me. I now load the WebEngine using load instead of loadContent.
    The scala URL handler code which is not very exciting is here.

  • Is it possible to create a formula that converts a resource hours into full time units in project server 2010

    Hi
    Is it possible to create a formula that converts a resource available hours into full time equivalent units in project server 2010? Say a resource has 160 available hours for any given month this will translate into 1 FTE for this month. If it is 80 hours
    for that month then it will be 0.5 FTE and so on and so forth.
    Thanks,
    -Maurizio

    Maurizio,
    It's a bit late, but there are two OLAP cubes that can provide you with this information in a pivot table in Project Server 2010.
    "MSP_Portfolio_Analyzer" and "Resource Timephased" contains capacity measures that be used to provide calculated measures when the cube database is generated. You change OLAP cube configuration in "Server Settings -> Database Administration -> OLAP
    Database Management". In either of the aforementioned cubes, use "Calculated Measures" to create two measures:
    Member Name
    MDX Expression
    Available (FTE)
    ([capacity]-[work])/[capacity]
    Work (FTE)
    [Work]/[Capacity]
    These two fields will appear in the pivot table field list as "Values", and when combined with a "Time" column, can give you a picture of FTE usage and availability.
    I prefer the portfolio version since it contains project/assignment data and resource data, letting you see just  how resources are being utilized.
    One thing I have not been able to get around is getting ""Maximum Units" for a resource factored into the measure. A common practice is to allocate more that "100%" to generic resources to represent teams for planning purposes. The OLAP measures will show
    only 0.0 to 1.0 FTE for any resource, even if a resource represents more than one body.
    If you have an SSRS query you could share, I would appreciated it!
    Hope this helps!
    JTC
    JAckson T. Cole, PMP, MCITP

  • Local Resource not being read from database

    I created a Customer Resource Provider for my project. 
    This provider is executing properly for Global resource requests (see sample #1 reference below). 
    However, for Local resource references (see Sample #2 below), it is not loading anything.  Can anybody help out or spot what is wrong?
    Sample #1:
    <asp:Label
    ID="lblAmount"
    runat="server"
    Text="<%$
    Resources:TestResource, Total_Amount_is %>"></asp:Label
    >
    Sample #2:
    <asp:TextBox
    ID="txtMoney"
    runat="server"
    meta:resourcekey="txtMoneyResource1"></asp:TextBox>
    Here is the Customer Provider code:
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using System.Linq;
    using System.Web;
    using System.Web.Compilation;
    using System.Globalization;
    using System.Resources;
    using System.Data;
    using System.Data.SqlClient;
    using System.Data.SqlTypes;
    using System.Text;
    using System.Diagnostics;
    using System.Runtime.CompilerServices;
    namespace Globalization_and_LocalizationV6
    public sealed class SqlResourceProviderFactory : ResourceProviderFactory
    public SqlResourceProviderFactory()
    public override IResourceProvider CreateGlobalResourceProvider(string classKey)
    return new SqlResourceProvider(null, classKey);
    public override IResourceProvider CreateLocalResourceProvider(string virtualPath)
    //virtualPath = System.IO.Path.GetFileName(virtualPath);
    //virtualPath = virtualPath.Replace(HttpContext.Current.Request.ApplicationPath, "");//System.Web.VirtualPathUtility.ToAppRelative(virtualPath)
    virtualPath = virtualPath.Replace(System.Web.VirtualPathUtility.ToAppRelative(virtualPath), "");
    return new SqlResourceProvider(virtualPath, null);
    }//End of Sealed Class called SqlResourceProviderFactory
    internal class SqlResourceProvider : IResourceProvider
    private string _virtualPath;
    private string _className;
    private IDictionary _resourceCache;
    private static object CultureNeutralKey = new object();
    public SqlResourceProvider(string virtualPath, string className)
    _virtualPath = virtualPath;
    _className = className;
    private IDictionary GetResourceCache(string cultureName)
    object cultureKey;
    if (cultureName != null)
    cultureKey = cultureName;
    else
    cultureKey = CultureNeutralKey;
    if (_resourceCache == null)
    _resourceCache = new ListDictionary();
    IDictionary resourceDict = _resourceCache[cultureKey] as IDictionary;
    if (resourceDict == null)
    resourceDict = SqlResourceHelper.GetResources(_virtualPath, _className, cultureName, false, null);
    _resourceCache[cultureKey] = resourceDict;
    return resourceDict;
    object IResourceProvider.GetObject(string resourceKey, CultureInfo culture)
    string cultureName = null;
    if (culture != null)
    cultureName = culture.Name;
    else
    cultureName = CultureInfo.CurrentUICulture.Name;
    object value = GetResourceCache(cultureName)[resourceKey];
    if (value == null)
    // resource is missing for current culture, use default
    SqlResourceHelper.AddResource(resourceKey, _virtualPath, _className, cultureName);
    value = GetResourceCache(null)[resourceKey];//How do you add a new item to the "list" inside this method? Or refresh the list with the updated data?
    if (value == null)
    // the resource is really missing, no default exists
    SqlResourceHelper.AddResource(resourceKey, _virtualPath, _className, string.Empty);
    return value;
    IResourceReader IResourceProvider.ResourceReader
    get
    return new SqlResourceReader(GetResourceCache(null));
    }//End of Sealed Class SqlResourceProvider
    internal sealed class SqlResourceReader : IResourceReader
    private IDictionary _resources;
    public SqlResourceReader(IDictionary resources)
    _resources = resources;
    IDictionaryEnumerator IResourceReader.GetEnumerator()
    return _resources.GetEnumerator();
    void IResourceReader.Close()
    IEnumerator IEnumerable.GetEnumerator()
    return _resources.GetEnumerator();
    void IDisposable.Dispose()
    }//End of Sealed Class SqlResourceReader
    internal static class SqlResourceHelper
    public static IDictionary GetResources(string virtualPath, string className, string cultureName, bool designMode, IServiceProvider serviceProvider)
    SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ASPNETDB"].ToString());
    SqlCommand com = new SqlCommand();
    // Build correct select statement to get resource values
    if (!String.IsNullOrEmpty(virtualPath))
    // Get Local resources
    if (string.IsNullOrEmpty(cultureName))
    // default resource values (no culture defined)
    com.CommandType = CommandType.Text;
    com.CommandText = "select resource_name, resource_value" +
    " from ASPNET_GLOBALIZATION_RESOURCES" +
    " where resource_object = @virtual_path" +
    " and culture_name is null";
    com.Parameters.AddWithValue("@virtual_path", virtualPath);
    else
    com.CommandType = CommandType.Text;
    com.CommandText = "select resource_name, resource_value" +
    " from ASPNET_GLOBALIZATION_RESOURCES " +
    "where resource_object = @virtual_path " +
    "and culture_name = @culture_name ";
    com.Parameters.AddWithValue("@virtual_path", virtualPath);
    com.Parameters.AddWithValue("@culture_name", cultureName);
    else if (!String.IsNullOrEmpty(className))
    // Get Global resources
    string strFinalCultureName = string.Empty;
    if (String.IsNullOrEmpty(cultureName))
    strFinalCultureName = string.Empty;
    else
    strFinalCultureName = cultureName;
    com.CommandType = CommandType.Text;
    com.CommandText = "select resource_name, resource_value " +
    "from ASPNET_GLOBALIZATION_RESOURCES where " +
    "resource_object = @class_name and" +
    " culture_name = @culture_name ";
    com.Parameters.AddWithValue("@class_name", className);
    com.Parameters.AddWithValue("@culture_name", strFinalCultureName);
    //if (string.IsNullOrEmpty(strFinalCultureName))
    // // default resource values (no culture defined)
    // com.CommandType = CommandType.Text;
    // com.CommandText = "select resource_name, resource_value" +
    // " from ASPNET_GLOBALIZATION_RESOURCES " +
    // "where resource_object = @class_name" +
    // " and culture_name is null";
    // com.Parameters.AddWithValue("@class_name", className);
    //else
    // com.CommandType = CommandType.Text;
    // com.CommandText = "select resource_name, resource_value " +
    // "from ASPNET_GLOBALIZATION_RESOURCES where " +
    // "resource_object = @class_name and" +
    // " culture_name = @culture_name ";
    // com.Parameters.AddWithValue("@class_name", className);
    // com.Parameters.AddWithValue("@culture_name", cultureName);
    else
    // Neither virtualPath or className provided,
    // unknown if Local or Global resource
    throw new Exception("SqlResourceHelper.GetResources()" +
    " - virtualPath or className missing from parameters.");
    ListDictionary resources = new ListDictionary();
    try
    con.Open();
    //SqlCommand _com = con.CreateCommand();
    //_com.Connection = con;
    //_com.CommandType = CommandType.Text;
    //_com.CommandText = com.CommandText;
    //_com.Parameters.AddRange(com.Parameters.AddRange(com.Parameters.Cast<System.Data.Common.DbParameter>().ToArray()););
    //foreach (var Parameters in com.Parameters)
    // _com.Parameters.
    com.Connection = con;
    SqlDataReader sdr = com.ExecuteReader(CommandBehavior.CloseConnection);
    while (sdr.Read())
    string rn = sdr.GetString(sdr.GetOrdinal("resource_name"));
    string rv = sdr.GetString(sdr.GetOrdinal("resource_value"));
    resources.Add(rn, rv);
    catch (Exception e)
    throw new Exception(e.Message, e);
    finally
    if (con.State == ConnectionState.Open)
    con.Close();
    return resources;
    }//End of GetResources
    public static void AddResource(string resource_name, string virtualPath, string className, string cultureName)
    string resource_object = "UNKNOWN **ERROR**";
    if (!String.IsNullOrEmpty(virtualPath))
    resource_object = virtualPath;
    else if (!String.IsNullOrEmpty(className))
    resource_object = className;
    string strFinalCultureName = string.Empty;
    if (String.IsNullOrEmpty(cultureName))
    strFinalCultureName = string.Empty;
    else
    strFinalCultureName = cultureName;
    SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["ASPNETDB"].ToString());
    SqlCommand com = new SqlCommand();
    StringBuilder sb = new StringBuilder();
    sb.Append("MERGE ASPNET_GLOBALIZATION_RESOURCES as trg " +
    "using (values ('" + resource_object + "', '" + resource_name + "', '" + resource_name + " * DEFAULT * ', '" + strFinalCultureName + "')) " +
    "as source (RESOURCE_OBJECT, RESOURCE_NAME, RESOURCE_VALUE, CULTURE_NAME) " +
    "on " +
    " trg.RESOURCE_OBJECT = '" + resource_object + "' " +
    "and trg.RESOURCE_NAME = '" + resource_name + "' " +
    "and trg.CULTURE_NAME = '" + strFinalCultureName + "' " +
    "when matched then " +
    "update " +
    "set RESOURCE_VALUE = source.RESOURCE_VALUE " +
    "when not matched then " +
    "insert ( RESOURCE_OBJECT, RESOURCE_NAME, RESOURCE_VALUE, CULTURE_NAME) " +
    "values ( source.RESOURCE_OBJECT, source.RESOURCE_NAME, source.RESOURCE_VALUE, source.CULTURE_NAME);");
    com.CommandText = sb.ToString();
    //sb.Append("insert into ASPNET_GLOBALIZATION_RESOURCES " +
    // "(resource_name ,resource_value," +
    // "resource_object,culture_name ) ");
    //sb.Append(" values (@resource_name ,@resource_value," +
    // "@resource_object,@culture_name) ");
    //com.CommandText = sb.ToString();
    //com.Parameters.AddWithValue("@resource_name", resource_name);
    //com.Parameters.AddWithValue("@resource_value", resource_name +
    // " * DEFAULT * " +
    // (String.IsNullOrEmpty(cultureName) ?
    // string.Empty : cultureName));
    //com.Parameters.AddWithValue("@culture_name", (String.IsNullOrEmpty(cultureName) ? SqlString.Null : cultureName));
    //string resource_object = "UNKNOWN **ERROR**";
    //if (!String.IsNullOrEmpty(virtualPath))
    // resource_object = virtualPath;
    //else if (!String.IsNullOrEmpty(className))
    // resource_object = className;
    //com.Parameters.AddWithValue("@resource_object", resource_object);
    try
    com.Connection = con;
    con.Open();
    com.ExecuteNonQuery();
    catch (Exception e)
    throw new Exception(e.ToString());
    finally
    if (con.State == ConnectionState.Open)
    con.Close();
    }//End of AddResource
    public static IDictionary AASearch(List<Dictionary<string, object>> testData, Dictionary<string, object> searchPattern)
    return testData.FirstOrDefault(x => searchPattern.All(x.Contains));
    }//End of Class SqlResourceHelper
    }//End of Namespace Globalization_and_LocalizationV6

    Hi Daniel Rose01,
    Based on your description, this issue is related to the Web development, am I right?
    Since the ASP.NET has his own support forums, so if it is related to the web project, I suggest you post this issue to the ASP.NET forum, and there you would get dedicated support.
    The forum link:
    http://forums.asp.net/
    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.

  • Look up resources using a dynamic name

    I am using the <f:loadBundle ... /> tag to load localized resources in my JSP page. Now, I want to be able to look up resources from that bundle using a dynamic key. Like:
    <h:outputText value="#{resources.error-<%=code%>" />
    Or something like that, where code can be a request parameter to the JSP page. Seems like its something that would be common to want to do.
    Does anybody have any idea how to do that?
    Thanks for any help.

    That didn't work either.
    I think I'll just do it the old fashion way:Just send me your application (JSF version) and I will try make it work.
    On Monday you will get working version if I will capable fix your problem.
    My email: [email protected]
    I'm new to this JSF stuff I'm used to be delphi programmer and start to develop web application (using JSF) just couple month ago. That why sometimes I can't provide good answer. :)
    By the way, from your experience with JSF, is it
    mature enough to use in a production website? The
    only thing I'm using it for now is the localized
    resource bundle but that doesn't even do what I want.
    Not sure if JSF buys me anything versus just doing
    HTML/JavaScript/JSP.I created only one jsf application that include about 10 pages and using connections to MySQL.
    This application not in production yet because it's not finish, but it's work OK at least for one user :).
    I'm sure for complicate web site with different kind of data from different sources JSF is good way to go because it's easy connect presentation tier to business and data tiers. Don't forget also about possibility to create any kind of web components and rendering kits including rendering kit for virtual reality.
    We have web site with information about healthcare providers, services, schedules, accepted insurances.
    That the regular site with HTML/JavaScript/JSP and it's take to much time keep this site to today.
    Almost all information for site we can get from our database, but site using information from xml files.
    Of course we can create complicate jsp based web site with connection to database but it's mean you need bunch very good web developers.
    In near future I'm planning make all our web sites JSF based.

  • CRS-2630: Only cluster administrators are allowed to create local resources

    I have installed and configured a 12c database across two linux nodes and all is well. I have also installed the Oracle rdbms 12.1.01 on the same nodes. Now when I try and use netca or dbca to create a database or listener, I get the following errors;
    CRS-2630: Only cluster administrators are allowed to create local resources
    I can log in as the GRID user and can create resources but not as database user. Both users are members of the dba group.
    Any ideas anyone?  Thanks a lot H.

    The issue is resolved, the 12c configuration is a lot more comprehensive than 11g. Here we have to create the user DBA with the right rights to access and change the cluster resources.
    For example to allow the dba users the ability to create listeners on the RAC nodes, we have to issue some command such as follows; here the oedsdp is the dba user and ogridp is the grid main owner.
    t@rac2node ~]# /oracle/grid/bin/crsctl setperm resource ora.rac1node.vip -u user:oedsdp:rwx
    [root@rac2node ~]# /oracle/grid/bin/crsctl setperm resource ora.net1.network -u user:oedsdp:rwx
    [root@rac2node ~]# /oracle/grid/bin/crsctl setperm resource ora.net1.network -u user:oedsdp:rwx
    [root@rac2node ~]# /oracle/grid/bin/crsctl setperm resource ora.rac2node.vip -u user:oedsdp:rwx
    [root@rac2node ~]# /oracle/grid/bin/crsctl setperm resource ora.net1.network -u user:oedsdp:rwx
    Interesting, I think we need to carefully plan the new user groups before we start the GRID configuration.
    H.

  • Locale Resource Bundle Best Practice

    Hi
    I have a Flex application that loads it's locale resource bundle from a service.
    So when the httpservice loads the bundle it populates an instance of a class "I18NBundle" that contains all the bundle properties. For instance you could do:
    i18nBundle.hello_message and it would return "Hello"
    I'm currently using Cairngorm for this project so this i18nBundle instance it's on the model locator.
    What I'm seeing and that I don't like is that for a component be able to get the bundle it must access to the model locator and then to the i18nBundle.
    Instead of that what I would like is that each component doesn't rely on this for getting the bundle.
    I guess I could create a "bundle" property on each component class and then pass it the reference to the bundle when it is instanciated. It seems it could be messy and a difficult task to initialize this property in some cases for instance on a datagrid cell renderer.
    Other could be transforming the I18NBundle class into a singleton and then when the service response it's recieved the singleton it's initialized. Since all application components should/must access the same locale bundle I guess this could be a better option.
    What do you think about this?
    Do you think there is some a better way to achieve this with Flex?
    Any opinion or recommendation would be appreciatted.
    (I don't wish to use the Adobe Flex proposal of having the properties file on the Flex project and the compiling them into swf.)
    thanks in advance.
    Polaco.
    ps: If you think I haven't expressed myself correctly please let me know and I will rewrite it.

    I have managed to extend IResourceBundle and added it to ResourceManager.
    The only problem now is that my bundle does not represent a language and it doesn't need a name either.
    Since the localization part is done on the webapplication and then the apporpiate bundle returned in the request's response.
    So it's locale attribute value is "".
    And it's name is "".
    I can display a property correctly if I use the following code:
    (resourceManager.getResourceBundle('','')).content.helloMessage
    but I doesn't work if I try to retrieve it like:
    resourceManager.getString("", "helloMessage");
    any ideas ?
    thanks

  • Is it possible to add placeholders in Localized Resource text?

    Hi,
    I am writing a script for validating the file type of attachment file in an Attachment extension field. We have to restrict users from selecting any file other than the allowed types. If user selects a different file, I want to display an error mesage like "File type <selected type> is not supported"
    Can I add a localized resource with a placeholder for <selected type>? I want the <selected type> in the error message to be dynamically populated by the value I pass to it from the script. is this possible? if yes, how?

    Got it after lots of trial and error. I created a new Localised Resource with a value like this:
    "File type {0} is not a supported type..."
    The {0} in the message is replaced by the actual file type using a message modifier string array (details in Reference Guide iAPI section for ChainedException). Here is the code snippet that did the job for me:
    Set errorId to the localised resource id then:
    msgMod = new String[1];
    attach = doc.getExtensionField("W9_ATTACH").get();
    if (hasValue(attach)){
        String fileName = attach.getDisplayName();
        logIt("*** User has selected W9 attachment file " + fileName + " ***", 1);
        //Get the file extension
        String extension = "";
        int i = fileName.lastIndexOf('.');
        if (i >= 0)
            extension = fileName.substring(i+1);
        logIt("*** File type is " + extension + " ***", 1);
        //Validate - throw error if the type is not PDF, BMP, TIF or JPG
        if (!Arrays.asList(new String[] {"PDF", "BMP", "TIF", "JPG", "pdf", "bmp", "tif", "jpg"}).contains(extension)) {
            msgMod[0] = extension;
           ae.chainAtEnd(doc.createApplicationException("W9_ATTACH",bundle,errorId).setMessageModifiers(msgMod));

Maybe you are looking for

  • Can't use signature,and other problems

    Though I've created 2 signatures in Mail Preferences, neither one is shown when I send an e-mail. In the Signatures window in Mail Preferences the "Select Signature" portion in the dialog box is not active and "None" shows in the drop down menu bar.

  • Real life SD Project - Gurus requested to give brief feedback

    Hi, Please read the real life SD - FICO scenario given below and if you think you have the solution, kindly state your suggestion. Would be much appreciated. =================================================== Engineering Services Orders  (Inter-comp

  • Customizing Resource Assignment form in IdM

    Hi All, I am very new to IdM and have a simple task to do. But can not figure out how. I have two Sql Database table resources. I want to have a situation where: 1. An Administrator Logs into IdM and Searches for an user giving his AcccountId, LastNa

  • Error, "check color cartridge". black sludge in well below cartridges.

     I refilled my cartridges from costco a while back.I was getting error, "check color cartridge" so I refilled the color cartridge, but am still getting the same error. I removed both cartridges and see black sludge in the cartridge well. I used a wet

  • Cannot recognize ink?

    my canno mp560 suddenly cannot print because one ink cannot be recognized. how to fix it?