vCloud Director: create new Org with password policy settings

Hello

I'm looking for some advice or insight on how to define the strategy of password on an org on 'Activé' when creating and set the attempt to lock and the duration.

By looking at information API, call the PS for the vCD format API should be what I have below, but when I run it in a script, it is passed over and not run.

$lockout = $org. ExtensionData.Settings.GetPasswordPolicy)

$lockout. AccountLockoutEnabled = $True

$lockout. InvalidLoginsBeforeLockout = 6

$lockout. AccountLockoutIntervalMinutes = 11

If someone has an idea, I would be very grateful.

Thank you

Jkasalzuma

Hello

You were very close, you just need to enable the change. As your last line, perform the following steps:

$lockout. UpdateServerData()

Kind regards

Dean

Tags: VMware

Similar Questions

  • Comment create a private with password and login access?

    Comment create a private with password and login access?

    If all you need is to grant a person/company access to a specific folder on your site (a location test for their website for example), you can usually do this from your control panel hosting account. You must consult your webhost for exact directions on how to do it.

    If you need a more robust record and the system log-in, you will need to become familiar with a language such as php server-side and a database like mySQL. DW has nothing built-in that will do these things for you, however you can use DW to encode or lining up third-party code on your site.

  • Will vcloud Director 5.5 compatible with vsphere 5.1U1?

    Hey,.

    We vSphere 5.1U1 running in production and we look at vCloud Director 5.5 for the deployment. But VMware does not have a virtual Director 5.1 appliance and we do not want to buy a server, Redhat enterprise server (we could upgrade vSphere 5.1u1 soon, but due the Veem, we cannot now). Since VMware provides the virtual appliance for vCloud Director 5.5, so I got this question that I can't answer in VMware documents:

    Will vCloud Director 5.5 compatible with vSphere 5.1U1?

    Thank you

    / S

    Yes vCloud Director 5.5 is compatible with vSphere 5.1U1.

    Check it out here. VMware product interoperability matrices

    Please consider awarding points when choosing the correct answer.

  • How to create new documents with palette sample custom?

    You want to create new documents with a palette of color company already available instead of having to load the .ase files. Fat chance?

    Or... If each document requires these colors add to the palette with no file open.

    Bob

  • I want Photoshop, etc. on my new computer with the same settings I have on my old. I can't find a way to get there.

    I want Photoshop, etc. on my new computer with the same settings I have on my old. I can't find a way to get there.

    Using Adobe Creative Cloud sync settings

  • create a new user with password expire - problem SQL Developer

    Hi people,

    I use RDBMS 11.2.x on Solaris and Linux, and in the face of a problem that I hope someone can help me with.

    Our policy is to create a new account with a temporary password and force them to reset the password at the first login.

    Therefore, I use: "create user < username > identified by < user > password expire...» »

    The problem is that many users use Oracle SQL Developer and do not have access to SQL * more.

    When I user logs in the database for the first time in SQL Developer, he just tells them that the account is locked.

    It does not say the password is expired, and it does not give them a way to change this (that I can find it).

    I'm not familiar with SQL Developer and hoped for someone who has had a similar problem can offer some suggestions.

    Thank you.

    Jim

    Change password dialog is no longer Pop Up after ORA-28001 (password expired) (Doc ID 811736.1)

  • Create new Orgs by using the API (hr_organization_api.create_hr_organization) and details additional Org Unit

    Hello

    I created some orgs again using the API (hr_organization_api.create_hr_organization)

    I also want to create additional details Org Unit FDF but not sure which API to use.

    I am trying to insert data into attriubute1, 2 and 3 of the table to hr_all_organization_units by using the API, however the hr_organization_api.create_hr_organization API only allows me to use a segments of1 to 30 in the parameters of the API and NOT the attribute columns

    Can someone please suggest.

    Thank you

    Hello

    As you have rightly noted, hr_organization_api.create_hr_organization is not the settings to meet the ATTRIBUTE?.

    You could try calling the hr_organization_api.update_organization with the "p_organization_id" returned by the API call 'create '.

    Kind regards

    Rajen

  • Windows Journal is not open previously created templates or create new ones with pilot writer Ledger

    I used the driver Journal editor to create templates of forms I fill out frequently or that I frequently have to annotate Office documents.

    Recently the newspaper stopped opening these templates and I'm also able to create new models. I can still write normal notes on the default 'paper' line. When you try to open previous models, the newspaper stops working and gives me a message to indicate that the program has stopped working and Windows will close the application, and let me know if a solution is found.

    I uninstalled the driver of editor of Journal and the touch interface and Windows Journal and re-installed everything new + fix the driver of the writer. Well, none of this has solved the problem.

    Other advice would be highly appreciated, since I have now come back to fill in forms by hand again once and then their scan to computer.

    Kind regards

    Gerhard.

    Gerhard,

    What exactly happens when you try to open previously created templates?

    You can create a new one and use it?

    chk this link.

    http://www.7tutorials.com/using-Windows-Journal-beyond-basics

  • Create new project with old project vi

    So I have this 'project' I have worked since for quite awhile. I know I couldn't do it, but to save time, I reused a lot of code from the original project for a few other tests. So I just continued to add directories to this project.

    Now I need to take some of the best level vi and make a separate project, so I can store the source with the other files on our network in real engineering project folder.

    The high level vi is easy, but how do I make sure I get all down level vi and dependencies?

    I mean besides from the top level and moving it, then run to see what is missing?

    Is there an easy way?

    Use a 'Source' Distribution in the project that contains the high level of page VI (s) and configure it to "preserve the hiarchy."

    When the distribution the rest it will pick up the upper level screw and and all the screws under move them to the new location and link to point to the new location.

    Ben

  • 5.5 vCloud Director creating large (more than 8 mV) VAPP leave a VAPP model fails

    Hi all

    We currently use 5.5 VCD and we have problems with large vApps deployment.

    I noticed that when the task of creation takes longer than 5 minutes, it fails with the following error:

    -Internal Server Error

    -java.net.SocketTimeoutException: Read timed out



    I'll appreciate your assistance

    Please excuse the typos



    It's debugging:


    com.vmware.ssdc.library.exceptions.MultipleLMException: one or more exceptions have occurred - follow several Exceptions: [com.vmware.vcloud.api.presentation.service.InternalServerErrorException: Internal Server Error, com.vmware.vcloud.api.presentation.service.InternalServerErrorException: Internal Server Error]

    at com.vmware.ssdc.library.ExceptionFactory.createFromMultiple(ExceptionFactory.java:35)

    at com.vmware.vcloud.vdc.impl.AbstractVdcService.waitForFabricVmFutures(AbstractVdcService.java:902)

    at com.vmware.vcloud.vdc.impl.AbstractVdcService.copyVAppContents(AbstractVdcService.java:638)

    at com.vmware.vcloud.vdc.impl.AbstractVdcService.copyVAppContents(AbstractVdcService.java:291)

    at com.vmware.vcloud.vdc.impl.ResourceEntityLifeCycleImpl.instantiateVAppTask(ResourceEntityLifeCycleImpl.java:1332)

    at com.vmware.vcloud.vdc.impl.ResourceEntityLifeCycleImpl.executeTask(ResourceEntityLifeCycleImpl.java:1769)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase$ 2.doInSecurityContext(TaskActivity.java:427)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase$ 2.doInSecurityContext(TaskActivity.java:421)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ SecurityContextTemplate.executeForOrgAndUser (TaskActivity.java:674)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase.execute (TaskActivity.java:421)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase.invoke (TaskActivity.java:354)

    at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:109)

    to java.util.concurrent.Executors$ RunnableAdapter.call (unknown Source)

    to java.util.concurrent.FutureTask$ Sync.innerRun (unknown Source)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Subexception: com.vmware.vcloud.api.presentation.service.InternalServerErrorException: Internal Server Error

    at com.vmware.vcloud.fabric.foundation.futures.FutureUtil.convertExecutionException(FutureUtil.java:198)

    at com.vmware.vcloud.vdc.impl.AbstractVdcService.waitForFabricVmFutures(AbstractVdcService.java:837)

    at com.vmware.vcloud.vdc.impl.AbstractVdcService.copyVAppContents(AbstractVdcService.java:638)

    at com.vmware.vcloud.vdc.impl.AbstractVdcService.copyVAppContents(AbstractVdcService.java:291)

    at com.vmware.vcloud.vdc.impl.ResourceEntityLifeCycleImpl.instantiateVAppTask(ResourceEntityLifeCycleImpl.java:1332)

    at com.vmware.vcloud.vdc.impl.ResourceEntityLifeCycleImpl.executeTask(ResourceEntityLifeCycleImpl.java:1769)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase$ 2.doInSecurityContext(TaskActivity.java:427)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase$ 2.doInSecurityContext(TaskActivity.java:421)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ SecurityContextTemplate.executeForOrgAndUser (TaskActivity.java:674)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase.execute (TaskActivity.java:421)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase.invoke (TaskActivity.java:354)

    at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:109)

    to java.util.concurrent.Executors$ RunnableAdapter.call (unknown Source)

    to java.util.concurrent.FutureTask$ Sync.innerRun (unknown Source)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Caused by: com.vmware.vim.vmomi.client.exception.ConnectionException: java.net.SocketTimeoutException: Read timed out

    at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setError(ResponseImpl.java:224)

    at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:131)

    at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:98)

    to com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$ CallExecutor.sendCall (MethodInvocationHandlerImpl.java:526)

    to com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$ CallExecutor.executeCall (MethodInvocationHandlerImpl.java:507)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:295)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:265)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:169)

    to com.sun.proxy. $Proxy1146.recommendDatastores (unknown Source)

    at com.vmware.vcloud.fabric.storage.placement.impl.StoragePodPlacementManagerImpl.getDatastoreFromSDRS(StoragePodPlacementManagerImpl.java:266)

    at com.vmware.vcloud.fabric.storage.placement.impl.StoragePodPlacementManagerImpl.recommendDatastore(StoragePodPlacementManagerImpl.java:124)

    at com.vmware.vcloud.fabric.storage.placement.impl.PlacementManagerImpl.selectDatastoreInPod(PlacementManagerImpl.java:379)

    at com.vmware.vcloud.fabric.storage.placement.impl.PlacementManagerImpl.selectDatastore(PlacementManagerImpl.java:168)

    to com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromExistingStoredVmActivity$ CreateStoredVmInVcPhase.selectDatastore (CreateFromExistingStoredVmActivity.java:769)

    to com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromExistingStoredVmActivity$ CreateStoredVmInVcPhase.findOrCreateSourceVm (CreateFromExistingStoredVmActivity.java:631)

    to com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromExistingStoredVmActivity$ CreateStoredVmInVcPhase.copyVmWithLinkedCloneFromTemplate (CreateFromExistingStoredVmActivity.java:579)

    to com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromExistingStoredVmActivity$ CreateStoredVmInVcPhase.invoke (CreateFromExistingStoredVmActivity.java:265)

    ... 7 more

    Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0 (Native Method)

    at java.net.SocketInputStream.read (unknown Source)

    at java.net.SocketInputStream.read (unknown Source)

    at sun.security.ssl.InputRecord.readFully (unknown Source)

    at sun.security.ssl.InputRecord.read (unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord (unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord (unknown Source)

    at sun.security.ssl.AppInputStream.read (unknown Source)

    at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:166)

    at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:90)

    at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:281)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:92)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:62)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)

    at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289)

    at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)

    at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)

    at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:713)

    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:518)

    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)

    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)

    at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:111)

    ... more than 22

    Subexception: com.vmware.vcloud.api.presentation.service.InternalServerErrorException: Internal Server Error

    at com.vmware.vcloud.fabric.foundation.futures.FutureUtil.convertExecutionException(FutureUtil.java:198)

    at com.vmware.vcloud.vdc.impl.AbstractVdcService.waitForFabricVmFutures(AbstractVdcService.java:837)

    at com.vmware.vcloud.vdc.impl.AbstractVdcService.copyVAppContents(AbstractVdcService.java:638)

    at com.vmware.vcloud.vdc.impl.AbstractVdcService.copyVAppContents(AbstractVdcService.java:291)

    at com.vmware.vcloud.vdc.impl.ResourceEntityLifeCycleImpl.instantiateVAppTask(ResourceEntityLifeCycleImpl.java:1332)

    at com.vmware.vcloud.vdc.impl.ResourceEntityLifeCycleImpl.executeTask(ResourceEntityLifeCycleImpl.java:1769)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase$ 2.doInSecurityContext(TaskActivity.java:427)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase$ 2.doInSecurityContext(TaskActivity.java:421)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ SecurityContextTemplate.executeForOrgAndUser (TaskActivity.java:674)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase.execute (TaskActivity.java:421)

    to com.vmware.vcloud.backendbase.management.system.TaskActivity$ ExecutePhase.invoke (TaskActivity.java:354)

    at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:109)

    to java.util.concurrent.Executors$ RunnableAdapter.call (unknown Source)

    to java.util.concurrent.FutureTask$ Sync.innerRun (unknown Source)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Caused by: com.vmware.vim.vmomi.client.exception.ConnectionException: java.net.SocketTimeoutException: Read timed out

    at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setError(ResponseImpl.java:224)

    at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:131)

    at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:98)

    to com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$ CallExecutor.sendCall (MethodInvocationHandlerImpl.java:526)

    to com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$ CallExecutor.executeCall (MethodInvocationHandlerImpl.java:507)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:295)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:265)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:169)

    to com.sun.proxy. $Proxy1112.recommendDatastores (unknown Source)

    at com.vmware.vcloud.fabric.storage.placement.impl.StoragePodPlacementManagerImpl.getDatastoreFromSDRS(StoragePodPlacementManagerImpl.java:266)

    at com.vmware.vcloud.fabric.storage.placement.impl.StoragePodPlacementManagerImpl.recommendDatastore(StoragePodPlacementManagerImpl.java:124)

    at com.vmware.vcloud.fabric.storage.placement.impl.PlacementManagerImpl.selectDatastoreInPod(PlacementManagerImpl.java:379)

    at com.vmware.vcloud.fabric.storage.placement.impl.PlacementManagerImpl.selectDatastore(PlacementManagerImpl.java:168)

    to com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromExistingStoredVmActivity$ CreateStoredVmInVcPhase.selectDatastore (CreateFromExistingStoredVmActivity.java:769)

    to com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromExistingStoredVmActivity$ CreateStoredVmInVcPhase.findOrCreateSourceVm (CreateFromExistingStoredVmActivity.java:631)

    to com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromExistingStoredVmActivity$ CreateStoredVmInVcPhase.copyVmWithLinkedCloneFromTemplate (CreateFromExistingStoredVmActivity.java:579)

    to com.vmware.vcloud.fabric.storage.storedVm.impl.CreateFromExistingStoredVmActivity$ CreateStoredVmInVcPhase.invoke (CreateFromExistingStoredVmActivity.java:265)

    ... 7 more

    Caused by: java.net.SocketTimeoutException: Read timed out

    at java.net.SocketInputStream.socketRead0 (Native Method)

    at java.net.SocketInputStream.read (unknown Source)

    at java.net.SocketInputStream.read (unknown Source)

    at sun.security.ssl.InputRecord.readFully (unknown Source)

    at sun.security.ssl.InputRecord.read (unknown Source)

    at sun.security.ssl.SSLSocketImpl.readRecord (unknown Source)

    at sun.security.ssl.SSLSocketImpl.readDataRecord (unknown Source)

    at sun.security.ssl.AppInputStream.read (unknown Source)

    at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:166)

    at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:90)

    at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:281)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:92)

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:62)

    at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)

    at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289)

    at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)

    at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)

    at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)

    at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)

    at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:713)

    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:518)

    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)

    at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)

    at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:111)


    The critical point is here:


    to com.sun.proxy. $Proxy1146.recommendDatastores (unknown Source)

    at com.vmware.vcloud.fabric.storage.placement.impl.StoragePodPlacementManagerImpl.getDatastoreFromSDRS(StoragePodPlacementManagerImpl.java:266)

    Turn of the DRS in vCenter as a temporary solution.  If you can then deploy, this is definitely the storage associated with DRS.

    More recent versions of vCenter have improvements to speed up the result returned SDR recommend a data store for the placement of the VM.

  • create new tab with the name of the pass and the data type of the tab &amp; ranks on the b tab

    Hello

    I'm really struggling with this.
    Have two tables A and B
    A is a table with columns, tag_label, tag_colmn code
    -------------------------------------------------------------
    CODE | TAG_LABEL | TAG_COLMN_NAME
    -----------------------------------------------------------
    023. Registration | CHAR_TAG1
    023. Contract number | NUM_TAG1
    023. Agency | NUM_TAG2

    B is an operating table with code, CHAR_TAG1, CHAR_TAG2, NUM_TAG1, NUM_TAG2...
    ----------------------------------------------------------------------------------------------------------------------------
    CODE | CHAR_TAG1 | CHAR_TAG2 | NUM_TAG1 | NUM_TAG2......
    ----------------------------------------------------------------------------------------------------------------------------
    023. 420/09 | -- || 100023 | 1002
    021 | -- || 400030 | -- || --
    023. 450/10 | -- || 100025 | --


    I need to create a dynamic new table or view C from these two with
    ----------------------------------------------------------------------------------------------------------------------------
    CODE | REGISTRATION | CONTRACT NUMBER | AGENCY NUMBER
    ----------------------------------------------------------------------------------------------------------------------------
    023. 420/09 | 100023 | 1002
    023. 450/10 | 100025 | --

    That's when my Jdeveloper, I will be able to get a view with table C object.
    If you see C, there new column names, derived from the Tag_label of the table A column names and the lines are filled with the values from table B corresponding to the tag_column_name of the column of table A

    Is it possible to do so. This is very important because it is the main part of my project and I'm stuck on this.

    Kind regards.

    Published by: user10264958 on August 21, 2010 22:28

    Try this:

    CREATE OR REPLACE PROCEDURE MAKE_VIEW
    IS
        L_SQL VARCHAR2(32767);
    
        TYPE A_TAB_TYP IS TABLE OF A%ROWTYPE;
        A_TAB A_TAB_TYP;
    
        L_COMMA varchar2(10);
    BEGIN
        SELECT * BULK COLLECT INTO A_TAB FROM A;
        IF SQL%NOTFOUND THEN
            RAISE_APPLICATION_ERROR( -20999, ' Table A is empty ' );
        END IF;
        L_SQL := 'CREATE OR REPLACE VIEW C AS SELECT';
    
        L_COMMA := ' ';
        FOR I IN A_TAB.FIRST .. A_TAB.LAST
        LOOP
            L_SQL := L_SQL || L_COMMA;
            L_SQL := L_SQL || A_TAB( I ).TAG_COLMN_NAME ||
                  ' "' || A_TAB( I ).TAG_LABEL || '" ';
            L_COMMA := ',';
        END LOOP;
        L_SQL := L_SQL || ' FROM B WHERE ';
    
        L_COMMA := ' ';
        FOR I IN A_TAB.FIRST .. A_TAB.LAST
        LOOP
            L_SQL := L_SQL || L_COMMA;
            L_SQL := L_SQL || A_TAB( I ).TAG_COLMN_NAME ||
                  ' IS NOT NULL ';
            L_COMMA := ' OR ';
        END LOOP;
        EXECUTE IMMEDIATE L_SQL;
    END MAKE_VIEW;
    
    DROP VIEW C;
    EXECUTE MAKE_VIEW;
    
    SELECT * FROM C;
    
     DROP VIEW C succeeded.
    anonymous block completed
    Registration AGREEMENT NUMBER       Agency
    ------------ ---------------------- ----------------------
     420/09      100023                 1002
    450/10       100025                                        
    
  • Creating a new catalog with the current settings?

    I would like to create multiple catalogs, rather than keeping a huge catalog.  My problem is, when I create a new catalog that all parameters have a default value.  Is there a way to create a catalog and keep my existing settings?  If not, could I hope LR3?

    Thank you

    -Mark

    Copy a lrcat file and open it, and then delete all the images of him. You can then use this empty catalog you want.

    Consider, however, what you do - break control of your picture collection. Instead, you are better off Managing photos in a catalog and by optimizing and saving regularly. You can always sup divide your photos using keywords and collections smart and dumb.

    It's the same thing in LR3 Beta when there was an effort to improve the functioning of the large catalogs, does not facilitate any fragmentation.

    John

  • VMware vCloud Director with the NSX Manager installation process.

    Hello world

    I recently planned to deploy VMware vCloud Director (so NSX Manager will be deployed, as part of the process) on an existing environment (existing virtual machines running, virtual switches,...).

    Customers use their virtual machines because they are in production.

    I was wondering if the deployment / installation of NSX Manager would cause no downtime or disturb the workflows running or even break the VM interconnections?

    Thanks in advance,

    Lawrence B.

    I looked at many tutorials, and indeed nothing should happen so that deploy a controller or something else. My concerns were about this "else", as the virtual switches and so on. I guess that the NSX will show existing resources such as the existing virtual switches (and so forth) already configured with vCenter?

    What vCloud Director does is interact with NSX via API.  Calls are exclusive to VXLAN (vdnscope-# resources in the API) and demand to deploy or update an edge.  vCD is not 'show' resources discovered by NSX.  You configure NSX and vCD makes an API call and said ' I want a Board connected to the port groups A and B "or"I want a new vWire of this VXLAN instance.

    Is there a document with the "best practices" for the deployment of vCD?

    Yes: VMware vCloud Architecture Toolkit: Cloud Computing reference Architecture | United States

    The meddle with existing resources, must have dedicated resources for the vCD vendor (aka the cluster in vCenter).  It is better to have that then using a pool of resources to a cluster where neighbour noisy problems can arise.  vCAT above might exceed a lot of that when you read it.

  • Creating password policy error: Incorrect domain name

    Hi people,

    I am getting rather strange error ('Incorrect domain name") while trying to create a new password policy in OAM to activate the user account locking. I provide a name for the password policy and use the simple field of policy, I created in the 'domain password policy", as well as some fundamental values. I know it is something simple, and yet I can not understand why the domain name would be incorrect.

    Any help is greatly appreciated.

    Thank you
    Roman

    Hello

    "Domain password policy" is usually the domain of the user (for example: or = users, dc = abc, dc = com). You can try on the same day?

    -Aravind Pramod

  • First Pro CC does not create a new sequence with a new project

    I'm sure I must be missing something, but when I create a new project in first Pro CC, it does not automatically create a new sequence.

    In CS6, create a new project would cause a list of sequence presets, and then create a sequence is empty for you.

    In CC, once you have created a project, you end up looking at an empty timeline.  You then go to the file, new, sequence and it do.

    Looks like a strange step to include, no?

    Is there a setting that I have not found so made CC to create new projects with a sequence like CS6?

    Yes, as Jim mentioned, there are other ways to create a sequence.  For example, simply import your video footage and then with a clip selected, choose file > New > sequence of the Clip.  Or in the project Panel, drag an item to a new item icon.  Much easier create the sequence of way, rather than by reading all the parameters in the dialog box new sequence and try to understand which attributes correspond to the media they work with.

Maybe you are looking for

  • plan to iCloud for multiple accounts

    I think of purchasing a plan from iCloud for my family. Between my wife and me, we have nearby a 1 terrabyte of photos.  I tried to use a personal cloud at home, but it's quickly become cumbersome the advantage, however, is that both of us can access

  • Pavilion p7-1414 map video noise

    My Pavilion p7-1414 video card began to make noise of fan.  Cleaned and reinstalled.  Always noisy.  If gently, you hold the fan and prevent it from spinning noise constantly. Has tried to buy a replacement at Best Buy, and I was told no way.  They d

  • Error code of Type Image not valid 1074396080

    Hello I tried to build a Vi to follow an object such as a ball or a stationary object, but my Vi would not work due to the error of invalid image type. The error occurs between the "IMAQ extract unique blue color" and "IMAQ threshold. I've been throu

  • How to improve the performance of your computer and free up space.

    Original title: the unwanted temporary files of windows is at the origin of the problems of proformanace According to a check of problem: the unwanted files temporary windows could take to improve the performance of your computer and free up space. C

  • MS Paint took control of my pictures. I want to fix this or disable MS Paint.

    MS Paint took control of my pictures. I want to fix this or disable MS Paint.