Create user tools

Hello,
    I have created a sequence file that takes sequence context as a parameter, and exports the local vairables of the calling sequence into an xml file. However, i want to keep this as a utility, just like the generic Import export. When i try to customize the tools menu, there are only four options - sequence,submenu,command and sequence file.
What i need is that, when i open up any sequence, and then click on the "Export to Xml..." on the tools menu, it should show the sequence context of the opened sequence file. When i try to to customise the tools menu, and make a new tools item "Export to XML..." as a sequence call to this sequence that i have designed that takes the sequence context as a parameter input, there is no way of passing this parameter to the sequnce call in this tools option.
   In other words, i want the sequence context of the last opened sequence file to be passed to this new sequece call tool item as a parameter. Could you please help me out with how to acieve this. Is there any other way to design this tool item?
Thanks,
Aparna

Hi Aparna,
We have a shipping exampled located at C:\Program Files\National Instruments\TestStand 3.5\Examples\Tools that demonstrates how to create a tools menu item that edits the selected sequence file.  Most tools use the RunState.InitialSelection subproperty that specifies the set of properties, steps, and sequences, as well as the file or execution that is selected or active when you start a new execution.  Use this subproperty to grab references to step objects, sequence file objects, etc.   
To find help on what the different elements in that subproperty represent, refer to the TestStand Help (Help >> TestStand Help; Then type initialselection in the index tab).
Hope this helps!
Best Regards,
Jonathan N.
National Instruments

Similar Messages

  • How to create user group using Visual Admin Tool

    Hi
    I am trying to configure the Adobe Service in WAS.As part of this process,i supposed to create the Hroup Called "ADSCallers".In document it suggested to go Servcer>Services>Security Provider.In that i selected UserManagement Engine Tab,but there "Create User","Create Group" buttons are disabled.so how to enable it so that i can create the groups/users there.please help
    Thanks
    Prasad

    Hi,
    Did you change the display mode to change mode by clicking
    the "pencil" icon on the top left corner of the screen?
    Best Regards
    Srikishan

  • Cannot create user using Web Site Administration Tool with Oracle Express

    Hello,
    I am following the tutorial here to add roles/memberships/profiles etc. using the Oracle providers supplied by Oracle:
    http://www.oracle.com/technology/obe/11gr2_db_prod/appdev/dotnet/aspprovider/aspprovider_otn.htm?_template=/ocom/print
    This tutorial fails at step 7: When I click Create user (on the security tab) the web page brings me to a page that says:
    "An error was encountered. Please return to the previous page and try again."
    Does anyone have any idea why this is happening?
    Also, does anyone know if log files are created that I may take a look at to get more details about the error?
    Thank you,
    John DeAngelis

    Hi John,
    This is the forum for the Oracle Provider for OLE DB. You may want to post your question the forum for Oracle Providers for ASP.NET.
    Oracle Providers for ASP.NET
    as it will be seen by a wider audience using that product.
    J.B.

  • "The CREATE USER statement must be the only statement in the batch" in SQL Azure - why? what to do?

    I'm getting an error on a line in the middle of a larger sql script, only in SQL Azure.
    IF NOT EXISTS (SELECT * FROM sys.database_principals WHERE name = N'foouser')
    CREATE USER [foouser] FOR LOGIN [foouser] WITH DEFAULT_SCHEMA=[dbo]
    GO
    Error: "The CREATE USER statement must be the only statement in the batch."
    I don't actually understand what 'the only statement in the batch' means.
    What is a batch? Is it a SQL file? Is it related to a 'GO' statement or an 'IF' statement? What is the reason for the error? And how do I avoid it?
    Thanks,
    Tim

    >IF...ELSE imposes conditions on the execution of a Transact-SQL statement
    I understand the general purpose of an If statement. I could let go of our definition of statement counting disagreeing too except that because of the error I'm stuck.
    It's less important for Create User but what I am really puzzled over now is a very similar issue how am I supposed to do a safe version of CREATE LOGIN, when I don't know whether a login has been previously created on the server or whether I
    am setting up the database on a clean server?
    IF NOT EXISTS (SELECT * FROM sys.server_principals WHERE name = N'foouser')
    CREATE LOGIN [foouser] WITH PASSWORD = 'asdfasdf'
    GO
    If I try and execute this script, it throws the same error as above.
    The first unworkable workaround idea is to omit the if statement
    CREATE LOGIN [foouser] WITH PASSWORD = 'asdfasdf'
    GO
    But if the login already exists on the server (because a similar script was already run), then the script throws an error.
    The second unworkable workaround idea is to do
    DROP LOGIN [foouser]
    GO
    CREATE LOGIN [foouser] WITH PASSWORD = 'asdfasdf'
    GO
    Obviously this throws an error in the second block if the login doesn't already exist on the server.
    The third workaround idea I have is to go conditional by putting an IF condition around DROP instead of CREATE:
    Unfortunately that doesn't work for me either!
    "The DROP LOGIN statement must be the only statement in the batch"
    (This is despite the fact that 'drop login' is listed on the
    supported commands page, not the partially supported page..?! Which disagrees with the notes on
    this page.)
    Anyway the real question I am interesting in addressing is: is there actually a way to have a 'Create/Delete login
    if exists' operation which is SQL-Azure compatible and doesn't throw me error messages (which messes with the sql execution tool I am using)?
    If there is no way, I would like to believe it's because it would be a bad idea to do this. But in that case why is it a bad idea?
    Tim

  • How to create user in UME,

    HI gurus,
    In requeriment for project, the customer request is about a aplication to create user in the UME automaticall after fill a survey with questions of security, my questions are;
    1. Exist a way for create users automatically ??, a RFC ? a Web Service ? or this step is strictly done for a human
    (UME isn´t integrated with abap data source).
    2. ¿ In KM exist a application that permit show a questionary, and questions and answers were filled from information hosted in tables z in R3 ?
    THanks in advance

    Hi Pacheco Mauricio,
    1. Exist a way for create users automatically ??, a RFC ? a Web Service ? or this step is strictly done for a human
    (UME isn´t integrated with abap data source).
             It is already answered by Erhan
    1- There isnt a standart way to create user in portal. You can code a web service to create user using portal apis
             using API's only you can create Application which help to create Users in Portal UME.      
    2. ¿ In KM exist a application that permit show a questionary, and questions and answers were filled from information hosted in tables z in R3 ?
    2- And also there isnt a standart way to create a poll using ecc tables. But there is a way to create poll in portal.
              SAP had provided a Poll Facility in Portal what Erhan suggested, but problem is you can at a time put only one question in a poll, but if you want some more functionality along with polls, you can go for Sweetlets which is third party tool.
             But if you want to develop a Survey kind of application where you want different type of questions along with different answer options than you have to build application from scratch like how we develop Custom Web Dynpro Java Applications.
    Regards,
    Tushar Shinde.

  • Error in Creating USER

    Hi,
    In my environment, I am installing OIM 9.0.3, on Oracle as database and JBoss as the application server. My installation went successful and I did able to login to the Oracle Identity Manager Online tool by using the admin account "xelsysadm". But after logging in to the Identity Manager, when I am trying to create or manager a User under "User Groups" I am getting a DB error. Where it pring out the query with reference to sdk.sdk_key., But SDK.SDK_KEY is a invalid identifier.
    Can any one please help me out how to fix this issue.
    Thanks&Regards
    Debi

    Hi Octavian,
    Putting the error message that I got, whicl click on the Create User link on the OIM admin webapplicaiton.
    ERROR,04 Jul 2008 18:11:01,660,[XELLERATE.DATABASE],select sdc.sdc_key, sdc.sdk_
    key, sdc_name, sdc_variant_type, sdc_sql_length, sdc_label, sdc_field_type, SDC_
    DEFAULT_VALUE, sdc_order, sdc_profile_enabled, sdc_encrypted, sdc_rowver,sdc_ve
    rsion, sdpv.sdp_property_value as Editable, sdpr.sdp_property_value as Optional
    , sdpv.sdp_property_value as Visible from sdc, sdp_visible_v sdpv, sdp_required
    v sdpr where sdc.sdkkey=sdk.sdk_key and (sdc.sdc_default is null or sdc.sdc_d
    efault='0') and sdc.sdc_version=0 and sdk.sdk_key=3 and sdc.sdc_key=sdpv.sdc_k
    ey(+) and sdc.sdc_key=sdpr.sdc_key(+) order by sdc_order asc, sdc.sdc_key asc
    java.sql.SQLException: ORA-00904: "SDK"."SDK_KEY": invalid identifier
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:
    790)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStateme
    nt.java:1039)
    at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.jav
    a:830)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1132)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:
    1272)
    at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:400)
    at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown So
    urce)
    at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Sourc
    e)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ieldsData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ields(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperationsSession.getFormFi
    elds(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl.ge
    tFormFields(tcFormDefinitionOperations_1kx3fy_EOImpl.java:696)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl_CB
    V.getFormFields(Unknown Source)
    at Thor.API.Operations.tcFormDefinitionOperationsClient.getFormFields(Un
    known Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy14.getFormFields(Unknown Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.setFormFields(Un
    known Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.prepareNewUser(U
    nknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
    n.java:280)
    at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatch
    Action.java:252)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
    2)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:419)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown So
    urce)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    ERROR,04 Jul 2008 18:11:01,676,[XELLERATE.DATABASE],Class/Method: tcDataBase/rea
    dPartialStatement encounter some problems: ORA-00904: "SDK"."SDK_KEY": invalid i
    dentifier
    java.sql.SQLException: ORA-00904: "SDK"."SDK_KEY": invalid identifier
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:
    790)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStateme
    nt.java:1039)
    at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.jav
    a:830)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1132)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:
    1272)
    at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:400)
    at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown So
    urce)
    at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Sourc
    e)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ieldsData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ields(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperationsSession.getFormFi
    elds(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl.ge
    tFormFields(tcFormDefinitionOperations_1kx3fy_EOImpl.java:696)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl_CB
    V.getFormFields(Unknown Source)
    at Thor.API.Operations.tcFormDefinitionOperationsClient.getFormFields(Un
    known Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy14.getFormFields(Unknown Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.setFormFields(Un
    known Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.prepareNewUser(U
    nknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
    n.java:280)
    at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatch
    Action.java:252)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
    2)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:419)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown So
    urce)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    ERROR,04 Jul 2008 18:11:01,691,[XELLERATE.APIS],Class/Method: tcFormDefinitionOp
    erationsBean/getFormFieldsData encounter some problems: An error occured while w
    hile retriving the definition of form: 3 version: 0
    ERROR,04 Jul 2008 18:11:01,691,[XELLERATE.APIS],Class/Method: tcFormDefinitionOp
    erationsBean/getFormFieldsData encounter some problems: Data Access Error
    com.thortech.xl.dataaccess.tcDataSetException: Data Access Error
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ieldsData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ields(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperationsSession.getFormFi
    elds(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl.ge
    tFormFields(tcFormDefinitionOperations_1kx3fy_EOImpl.java:696)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl_CB
    V.getFormFields(Unknown Source)
    at Thor.API.Operations.tcFormDefinitionOperationsClient.getFormFields(Un
    known Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy14.getFormFields(Unknown Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.setFormFields(Un
    known Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.prepareNewUser(U
    nknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
    n.java:280)
    at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatch
    Action.java:252)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
    2)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:419)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown So
    urce)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Data AccessException:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL:
    select sdc.sdc_key, sdc.sdk_key, sdc_name, sdc_variant_type, sdc_sql_length, sd
    c_label, sdc_field_type, SDC_DEFAULT_VALUE, sdc_order, sdc_profile_enabled, sdc_
    encrypted, sdc_rowver,sdc_version, sdpv.sdp_property_value as Editable, sdpr.s
    dp_property_value as Optional, sdpv.sdp_property_value as Visible from sdc, sdp
    visiblev sdpv, sdp_required_v sdpr where sdc.sdk_key=sdk.sdk_key and (sdc.sdc
    default is null or sdc.sdcdefault='0') and sdc.sdc_version=0 and sdk.sdk_key
    =3 and sdc.sdc_key=sdpv.sdc_key(+) and sdc.sdc_key=sdpr.sdc_key(+) order by sdc_
    order asc, sdc.sdc_key ascDescription: ORA-00904: "SDK"."SDK_KEY": invalid ident
    ifier
    SQL State: 42000Vendor Code: 904Additional Debug Info:com.thortech.xl.orb.dataac
    cess.tcDataAccessException
    at com.thortech.xl.dataaccess.tcDataAccessExceptionUtil.createException(
    Unknown Source)
    at com.thortech.xl.dataaccess.tcDataBase.createException(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown So
    urce)
    at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Sourc
    e)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ieldsData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ields(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperationsSession.getFormFi
    elds(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl.ge
    tFormFields(tcFormDefinitionOperations_1kx3fy_EOImpl.java:696)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl_CB
    V.getFormFields(Unknown Source)
    at Thor.API.Operations.tcFormDefinitionOperationsClient.getFormFields(Un
    known Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy14.getFormFields(Unknown Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.setFormFields(Un
    known Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.prepareNewUser(U
    nknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
    n.java:280)
    at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatch
    Action.java:252)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
    2)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:419)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown So
    urce)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Source SQL Exception:
    java.sql.SQLException: ORA-00904: "SDK"."SDK_KEY": invalid identifier
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:
    790)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStateme
    nt.java:1039)
    at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.jav
    a:830)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1132)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:
    1272)
    at weblogic.jdbc.wrapper.Statement.executeQuery(Statement.java:400)
    at com.thortech.xl.util.JDBCUtils.executeQuery(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataBase.readPartialStatement(Unknown So
    urce)
    at com.thortech.xl.dataobj.tcDataBase.readPartialStatement(Unknown Sourc
    e)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.dataobj.tcDataSet.executeQuery(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ieldsData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ields(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperationsSession.getFormFi
    elds(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl.ge
    tFormFields(tcFormDefinitionOperations_1kx3fy_EOImpl.java:696)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl_CB
    V.getFormFields(Unknown Source)
    at Thor.API.Operations.tcFormDefinitionOperationsClient.getFormFields(Un
    known Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy14.getFormFields(Unknown Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.setFormFields(Un
    known Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.prepareNewUser(U
    nknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
    n.java:280)
    at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatch
    Action.java:252)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
    2)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:419)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown So
    urce)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    ERROR,04 Jul 2008 18:11:01,691,[XELLERATE.WEBAPP],Class/Method: tcManageUserActi
    on/prepareNewUser encounter some problems: An error occured while while retrivin
    g the definition of form: 3 version: 0
    Thor.API.Exceptions.tcAPIException: An error occured while while retriving the d
    efinition of form: 3 version: 0
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ieldsData(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.getFormF
    ields(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperationsSession.getFormFi
    elds(Unknown Source)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl.ge
    tFormFields(tcFormDefinitionOperations_1kx3fy_EOImpl.java:696)
    at com.thortech.xl.ejb.beans.tcFormDefinitionOperations_1kx3fy_EOImpl_CB
    V.getFormFields(Unknown Source)
    at Thor.API.Operations.tcFormDefinitionOperationsClient.getFormFields(Un
    known Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy14.getFormFields(Unknown Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.setFormFields(Un
    known Source)
    at com.thortech.xl.webclient.actions.tcManageUserAction.prepareNewUser(U
    nknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchActio
    n.java:280)
    at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatch
    Action.java:252)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
    tProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
    va:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
    2)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:419)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown So
    urce)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6724)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

  • What the best way to create User defined table with ADDON purpose

    Hi folks, how are you ?
    I´m beginner in development to business one, and I m studying to develop ISV addons.
    But, during my exercises and analisys, I learned that have two ways to create tables and fields in business one. One way is throght by wizard in business one using Tools Menu > Configuration Tools > User Defined Tables >
    Obs: I ´m using Business One Patch Level 9.
    Other way, is create the tables and fields using DI API
    But, my question is. When I develop one addon, or one UDO form that uses one set of user defined tables or used defined fields that where created by the first way (by wizard in B1), how I deploy this in other business one installation ? The package process will ensure the creation of this tables in another enviroment or I must implement the creation of user defined tables using DI API so that this code is called during the installation?
    If in cases of addon develop I must use DI API to create user defined tables, How can I use my classes with this responsibility in package process ?
    Thanks my friends.

    Hi Renan,
    You just need to put your logic in to the startup of your application, after you've established your connection to the UI API and DI API. All this will be triggered in the constructor of your main class.
    namespace MyNamespace
    public class MyAddon
      bool runAddon = true;
      bool initialised = false;
      const string ADDON_NAME = "My Addon";
      public static void Main()
            MyAddon addOn = new MyAddon();
            if(runAddon)
                  System.Windows.Forms.Application.Run();
            else
             Application.Exit();
      public MyAddon()
            // Connect to SBO session for UI
            if(!SetApplication()) runAddon = false;
      private bool SetApplication()
            // Code goes in here to establish UI API and DI API connections
            // See SDK samples for examples
            // You should also define and filter the UI API events your addon will trap at this stage and create any menus
            // Call your routine to check if the required UDFs/UDTs exist on this company
            initialised = CheckInitialisation();
            if (!initialised)
               //  AddOn not yet intialised on this company so prompt the user to run the intialisation process
              int iResponse = app.MessageBox("The " + ADDON_NAME + " addon will now create all required fields and tables."
                                             + System.Environment.NewLine + System.Environment.NewLine
                                             + "WARNING: It is strongly recommended that all other users are logged out of this company "
                                             + "before running this process. Are you sure you wish to continue?", 2, "Yes", "No", "");
              if (iResponse == 1) initialised = InitialiseAddOn(); // Call your routine to create the objects
            return true;
    Kind Regards,
    Owen

  • Create Users with Mail enabled in dscl or command line

    I have figured out how to use the dscl to add a user.
    example:
    $ sudo dscl . create /users/rothman uid 701
    $ sudo dscl . create /users/rothman gid 20
    $ sudo dscl . create /users/rothman realname "Ernest Rothman"
    $ sudo dscl . create /users/rothman passwd \*
    I went as far as to launch WorkGroup manager to enable Mail.
    The following gave me the key values:
    dscl . read /Users/test MailAttribute > mailsettings.txt
    When I try to replace from the txt file. WorkGroup Manager than believes the Mail is not enabled.
    How do I use dscl or a terminal command to enable the user with mail server and to use IMAP Only?
    I do not want to always have to remotely connect to launch Workgroup Manager to enable mail for new users.
    I hope you can help for I am new dscl or even NetInfo command line tools.
    I have tried these, but I guess it does't like how it is being restored into that property.
    dscl . create /Users/test MailAttribute `< mailsettings.txt`
    <?xml version="1.0" encoding="UTF-8"?>
    <dict>
    <key>kAPOPRequired</key>
    <string>APOPNotRequired</string>
    <key>kAltMailStoreLoc</key>
    <string></string>
    <key>kAttributeVersion</key>
    <string>Apple Mail 1.0</string>
    <key>kAutoForwardValue</key>
    <string></string>
    <key>kIMAPLoginState</key>
    <string>IMAPAllowed</string>
    <key>kMailAccountLocation</key>
    <string>192.168.181.132</string>
    <key>kMailAccountState</key>
    <string>Enabled</string>
    <key>kPOP3LoginState</key>
    <string>POP3Deny</string>
    <key>kUserDiskQuota</key>
    <string>0</string>
    </dict>
    I have also tried appending by doing something like this.
    dscl . create /Users/test MailAttribute '<?xml version="1.0" encoding="UTF-8"?>’
    dscl . append /Users/test MailAttribute ‘<dict>’
    dscl . append /Users/test MailAttribute ‘<key>kAPOPRequired</key>’
    dscl . append /Users/test MailAttribute ‘<string>APOPNotRequired</string>’
    dscl . append /Users/test MailAttribute ‘<key>kAltMailStoreLoc</key>’
    dscl . append /Users/test MailAttribute ‘<string></string>’
    dscl . append /Users/test MailAttribute ‘<key>kAttributeVersion</key>’
    dscl . append /Users/test MailAttribute ‘<string>Apple Mail 1.0</string>’
    dscl . append /Users/test MailAttribute ‘<key>kAutoForwardValue</key>’
    dscl . append /Users/test MailAttribute ‘<string></string>’
    dscl . append /Users/test MailAttribute ‘<key>kIMAPLoginState</key>’
    dscl . append /Users/test MailAttribute ‘<string>IMAPAllowed</string>’
    dscl . append /Users/test MailAttribute ‘<key>kMailAccountLocation</key>’
    dscl . append /Users/test MailAttribute ‘<string>192.168.181.132</string>’
    dscl . append /Users/test MailAttribute ‘<key>kMailAccountState</key>’
    dscl . append /Users/test MailAttribute ‘<string>Enabled</string>’
    dscl . append /Users/test MailAttribute ‘<key>kPOP3LoginState</key>’
    dscl . append /Users/test MailAttribute ‘<string>POP3Deny</string>’
    dscl . append /Users/test MailAttribute ‘<key>kUserDiskQuota</key>’
    dscl . append /Users/test MailAttribute ‘<string>0</string>’
    dscl . append /Users/test MailAttribute ‘</dict>’

    Got it to take as a single statement.
    dscl . create /users/test applemail "<?xml version='1.0' encoding='UTF-8'?> <dict> <key>kAPOPRequired</key> <string>APOPNotRequired</string> <key>kAltMailStoreLoc</key> <string></string> <key>kAttributeVersion</key> <string>Apple Mail 1.0</string> <key>kAutoForwardValue</key> <string></string> <key>kIMAPLoginState</key> <string>IMAPAllowed</string> <key>kMailAccountLocation</key> <string>192.168.181.132</string> <key>kMailAccountState</key> <string>Enabled</string> <key>kPOP3LoginState</key> <string>POP3Deny</string> <key>kUserDiskQuota</key> <string>0</string> </dict>"
    Doing the above showed in WorkGroup manager and I tested and the user received a email, so now I can automate adding users without needing the GUI. *Just to note you still have to setup mail services and your virtual, aliases files for postfix. This is just so the user is opened up to be allowed to receive email in the first place.
    I still could not seem to pipe a file into dscl command even though the file was a single line of text. I had planned to embed this in a single command so no big deal.

  • Creating user groups using SQ03.

    I am going to make a change to a already existing query 01 in the user group /SAPQUERY/AM. I am not a query expert, in fact this is the second query that I am modifing. I am reading some documentation that the first thing that I have to do is create a user group. from what I am reading, the user group will contain the users that are allowing to modify queries. Since our users do not use this tool, I am the only one that creates and modifies queries. I think I am going to create a user group and that my user-id will be the only one in the group - correct? will I create one user group and and queries that I make changes to in the future user this user group or do I create user groups based on the users group that are defined by SAP. example - If I am changing a query in /SAPQUER/AM  and in /SAPQUERY/AU - would I create 2 user groups  1 for AM and 1 for AU or would I create only 1 user group and use it for both queries.
    After this, I think I have to copy the infoset (SQ02)and the query (SQ01) to custom names (names starting with Z) and then attaching the parts to the new user group.

    Hi Timothy
    Typically you want to create user groups for functional areas or grouped reports/queries. You can enter as many users as needed into a user group and only those who have the checkbox next to their name in the user group screen will have authorization to create/modify queries in the infosets where the usergroup is assigned. If you are creating 2 usergroups with the same users and authorizations then that is redundant but if the list of users is different or the authorizations may change then it would make sense to have 2 usergroups. You should have some naming convention to follow when creating the queries but the Z prefix is not required.
    Andy

  • Creating users with supplier, buyer, job code info.

    I am writing a java app to create users in oracle apps.I am using apps api package fnd_user_pkg to create users,update users,add responsibilities.
    I need to add some extra attributes e.g. supplier, buyer, planner, job code info while creating a user.Is there any api package like fnd_user_pkg which can be used to update tables with above info? or should i update the tables directly?

    Thanks for the reply.  I was actually hoping the I-Chain/EDirectory variables would be available as CGI variables.  Here are some of the CGI variables I tried to retrieve from the header.  As you can see, only two contained values.  There must be some other way to obtain these.  I'd played around with CFLDAP, CFHTTP, etc.  No such luck.  But as mentioned, the IS dept says the values I'm looking for (UserID, Name, Location, etc.) are all being sent in every header (every response from the server).  Am just not sure which CF tags/tools to use to capture them.  Maybe it requires some special script.  I tried a few of those found in the CF7 on-line help, but no luck in getting the scripts to run.  If any other thoughts or suggestions, they would be much appreciated.  Thanks again, Gary1.
    <CFSET ValidSource1 = CGI.QUERY_STRING>
    <CFSET ValidSource2 = CGI.HTTP_REFERER>
    <CFSET ValidSource3 = CGI.REMOTE_USER>
    <CFSET ValidSource4 = CGI.REMOTE_ADDR>
    <CFSET ValidSource5 = CGI.AUTH_USER>
    <CFSET ValidSource6 = CGI.REMOTE_USER>
    <CFSET ValidSource7 = CGI.SERVER_NAME>
    ValidSource1 =
    ValidSource2 =
    ValidSource3 =
    ValidSource4 = 57.14.131.12
    ValidSource5 =
    ValidSource6 =
    ValidSource7 = aometrics.xxx.com

  • How to create users for iFS9R2???

    On iFS9R1 and earlier it was possible to create users from the web GUI using an administrative user's account. On iFS9R2 it wasn't possible, I only could create groups or folders, there wasn't even a menu entry under "new".
    Or did I miss or faulty configured something?
    +Lutz                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Matt,
    I'm using the iFS credential manager. And yes, I can create users using the iFS Manager tool. But with earlier releases it was also possible to create users from the iFS web GUI. Strange thing is that from the iFS Manager it is not possible (at least I didn't find one right now) to delete users, from the web GUI it is!
    Anyway, seems the best way would be OID as this is also be used by the new iAS and it might avoid the need for having two seperate user managements.
    Thanks for the hint!
    +Lutz                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Automatically create users (SU01) from organization (0105)

    In our organization, we will have the user id populated in the 0105 record.  How do I have the system automatically create the user record (SU01) from the 0105 record?  I have looked at the HRUSER transaction, but I don't understand how to run that.  Wondering if: a) other companies have done what we are trying to do, and if so, did they use HRUSER, and b) if HRUSER was used, do you have a clear step-by-step on how you use it?
    Thanks in advance!

    1) I have a client that create a subscreen for infotype 0105.
    This has a button to automatic create the user.
    2) HRUSer:
         If you have employees who do not have SAP users, first create SAP users for them and then authorize them to use SAP ESS.
         In the Set Up and Maintain ESS Users (Overview) screen, choose:
    u2022     Employees without users.
    If you choose Background, the Attributes of Users to be Created screen appears.
    If you choose Overview, the Create Users for Persons screen appears.
    u2022     Select a person and choose Create User. The Attributes of Users to be Created screen appears. Choose Execute.
         You must decide how you would like your employees to log on to SAP ESS.
         The user group ESSUSER is a fixed user attribute. It is used to distinguish between SAP ESS users and other system users, such as administrators.
         You can change user attributes in the Set up and Maintain ESS User (Start) screen. In the Attributes of Users, you can modify the Password field. The default is INIT. In the User Group field, the entry ESSUSER is fixed. You cannot change this because it is important to differentiate users authorized for SAP ESS from other users. In the Role field, the SAP role (which you have copied into your namespace) is the default.
         SAP delivers a user exit, which you can use to determine your own password routine and user name. SAP delivers user exit Exit_saplehus_001 as part of the HRESSW4 enhancement. This user exit enables you to change the name and password that the user installation tool creates for each SAP ESS user that is generated.
         Existing users keep their attributes, such as user group, password, date and decimal format and start menu. The existing setting are not overwritten.

  • Best practice to create users - Hybrid scenario

    I would like to know what is the best practice for creating new users in a Hybrid scenario with all mailboxes hosted and no mailboxes on-premise.
    Currently when creating a new user we go to our local EMC and create a 'New Remote Mailbox'.  This creates the mailbox in Office365 and the local user account in one wizard.
    After the new user is created we have to manually add the user to the correct distribution groups, and security groups.
    We would like a way to create new users using a template which already has the correct distribution groups and security groups.  This is how we did it prior to setting up the Hyrbrid scenario.
    Is this possible?  Can we create a user from a template and have the mailbox created in Office365 at the same time?  We do not wish to create the mailbox locally then migrate it.

    Thanks for the response DJStatik.  I think this tool might be useful for creating users in bulk, however we are looking for a user template in the traditional sense.
    Occasionally we have a new user and (prior to O365) would 'copy' the template user to ensure correct groups etc.
    We have tried making users from the existing template we have, but in order to create the mailbox in O365, you need to 'mail enable' the user.  We have noticed that doing this process causes issues with Autodiscover for that particular user.
    To avoid the autodiscover issue, we have found it best to create the user and the mailbox in the same wizard - hence our new process that we would like a template.

  • Approval for creating users in an organization

    Hi,
    We have a requirement where approval is required for creating users in Organisation X. Also, the admin has to fill in a field SSN before approving the request. We have implemented this by changing the approval form. But the admin can still approve by selecting it from the approval list directly (without viewing the form), where he wouldn't be prompted for SSN. Is there any way to avoid this so that admin has to provide SSN before approving?
    Thanks,
    Teena

    Hi Jason,
    The WebLogic LDAP realm implementations (both -- V1 and V2) have only read access on your LDAP server.
    You are recommended to use your LDAP server's own management tools to create groups and users on the LDAP server.
    Joe Jerry
    Jason Howard wrote:
    Hi,
    I am trying to determine whether or not it is possible to create users in an LDAP
    Realm.
    The documentation makes it clear that it is not currently possible with LDAPRealm
    V2, but it is ambiguous as to whether it can be done with LDAPRealmV1.
    My attempts to do this have been met with the following runtime exception:
    Servlet failed with Exception
    java.lang.UnsupportedOperationException: group modification not supported at weblogic.security.acl.DefaultGroupImpl.addMember(DefaultGroupImpl.java:39)
    The method addMember is being called on an implementation of the interface Group.
    This Group object is being returned without exceptions from the method getGroup(java.lang.String
    name) from an instance of weblogic.security.acl.CachingRealm
    The instance of CachingRealm is caching the LDAPRealm V1 pointing at an iPlanet server.
    NOTE: I can confirm that the configuration of the LDAP Realm is correct because I
    can see the users and groups contained within from the weblogic console.
    Can anyone confirm one way or the another, whether LDAPRealmV1 supports the ability
    to create users and add them to groups.
    Regards
    Jason

  • Script to create user in OBIEE 10g

    In OBIEE 10g, is it possible to use a script to create users automatically.
    I need this option to import user from the LDAP because if the LDAP are not created in OBI adminsitration tool, they can´t enter in analyticas (BI Server error)

    I suggest you to read
    Oracle9i Database Performance Tuning Guide and Reference
    Release 2 (9.2)
    Part Number A96533-02
    Chapter 7. Using Plan Stability
    ~ Madrid

Maybe you are looking for

  • I am attempting to convert a word document of 122 MB to PDF and will not take it. How do I convert it?

    I have a 122 MB word document I MUST convert to a PDF but it will only convert a 100 MB document. HELP

  • IB - 500 Internal Server Error

    Hi, All when I am trying SXMB_IFR to open IB it is giving error like this Exception An internal error occurred. Contact you XI administrator java.lang.NoClassDefFoundError ERROR details: Exception class: java.lang.NoClassDefFoundError Message java.la

  • Help With LightRoom Aspect Ratio Settings

    I have created some custom Aspect Ratio settings to the crop tool but I now want to delete them as I entered them wrong. Can anyone tel me how I can delete the custom ones I have made or reset back to defaults. I am guessing they are written out to a

  • How to setup discoverer to work with portal in future

    Hi, I have to setup the environment for a discoverer 10g R2 based reporting application. The application is supposed to display reports on the portal that is hosted on Oracle 10g AS. I started with installation of Oracle 10g R2 DB server. I have the

  • Tool bar dock problem with grid layout

    I have a tool bar with grid layout. When i dock it to vertical location(west or east) the buttons inside tool bar keep one row. I want to know how do i do to make the buttons arraged vertically like the tool bar with default layout when dock it at we