How to create our own GroupId in securityGroup Entity with multiple user permissions

2023-08-20 Thread Mahi maheshwari
Hello Community, I was trying to insert data into SecurityGroup Entity using a SecurityPermissionSeedData.xml file. I found the group Id = "Super" in the SecurityGroup Entity, the same way I want to create my own multiple group Ids in the SecurityGroup Entity with different permissions using .xml.

how can I increase the size of any column of SecurityGroup entity

2023-05-20 Thread Mahi maheshwari
Hello Community, I'm trying to change the size of groupId column of the SecurityGroup entity. I tried changing the size from 20 to 80 as mentioned below. Method: 1 I replaced this line with the below line of code Method: 2 and also tried changing the below-mentioned code, I changed the type

LDAP enabled was not working for multiple users in multitenant

2023-05-05 Thread Mahi maheshwari
Hello Community, I was trying with multiple logins with different users in multitenant and I'm facing one issue i.e. when logging in with any user with LDAP Enabled ( security.ldap.enable=true), the login was working only for the shipping user and admin user, for the remaining users it's not worki

How can I know the session object value inside .groovy file

2023-04-22 Thread Mahi maheshwari
Hello Community, how can I know the session object values in .groovy I want to know where the session object values are set and which file and module. please share the path of that file. I've included the piece of code for reference below. println "hey context==="+context.detailScreen println "

Class and Methods to find job ID and job Name in a service

2023-04-18 Thread Mahi maheshwari
Hello Community, Is there a way to find and access the job Id and job name inside a Java service? I have a service "SendEmailService" written in Java for mail notification, for this, I have created the job in jobSandBox. whenever the "SendEmailService" service is called by the scheduler then insid

Re: how to add multiple .ftl files in screen.xml based on user permissions using if else conditions

2023-04-11 Thread Mahi maheshwari
Map.WorkEffortViewPermissionError} > > > > If condition is true, widgets will display, else that will be fail-widgets > > Regards > > Gil > > Le 11/04/2023 à 09:08, Mahi maheshwari a écrit : > > Hello Community, > > > > I want to add .ftl files

how to add multiple .ftl files in screen.xml based on user permissions using if else conditions

2023-04-11 Thread Mahi maheshwari
Hello Community, I want to add .ftl files in screens.xml for multiple users based on a few conditions if there are multiple users named production user and quality user and other users, so for this users if I want to give permission for viewing any .ftl files, how can I do it. *for instance*, if

How to call a java service in widget/Screens.xml

2023-04-08 Thread Mahi maheshwari
Hello Community, Is there a way to call a java service written at pluginname/src/main/java/apache/services/ Submitform.java in pluginname/widget/screens.xml I actually have my Java service written in Submitform.java which is getting called through the in the controller.xml

How to create entities in the database using java events just as like we do in JDBC

2023-03-22 Thread Mahi maheshwari
Hello Community, I need help in creating entities through java events but not using entitymodel.xml file. like we do in java for creating entities, example was given below for reference. EXAMPLE: try(Connection conn = DriverManager.getConnection(DB_URL, USER, PASS); Statement stmt = conn.createSta

how forms are working in ofbiz

2022-05-25 Thread Mahi maheshwari
Hi, I want to understand how Forms are working in ofbiz. I want to know the flow from where services, service methods, and controllers are getting called or any java methods/functions. It would be helpful if anyone gave some examples for the *"create product"* form and I even wanted to ask how the

Build Failed while running ofbiz 18.12.01 due to checkstyle.xml

2022-02-16 Thread Mahi maheshwari
Hi, I'm using ofbiz 18.12.01 with gradle version 6.5. I had encountered errors with checkstyle file in config/checkstyle/checkstyle.xml while running ofbiz a couple of months back. I have resolved it by using below reference with few warnings. https://stackoverflow.com/questions/49645147/checksty

How to pull data from the tables and display that data into ftl files

2022-01-19 Thread Mahi maheshwari
Hi, I have few ftl files which are dashboards in my plugin. these ftl files has forms, text boxes and buttons in it. my requirement is to fetch the data from the tables(only required columns) and show that table data in the text boxes of ftl page. for example : I have a text box with label product

how can I give condition to render an ftl in few modules

2021-12-10 Thread Mahi maheshwari
Hi, Is there a way to render an ftl file only in a few modules but not in all, I want this ftl template to render in a few pages only but when I include ftl template in header.ftl it renders in all pages including the login page. I don't want to render ftl template on the login page. After copyin

Re: GlobalDecorator

2021-12-07 Thread Mahi maheshwari
endelijke groet, > > Pierre Smits > *Proud* *contributor** of* Apache OFBiz <https://ofbiz.apache.org/> since > 2008 (without privileges) > Proud contributor to the ASF since 2006 > > *Apache Directory <https://directory.apache.org>, PMC Member* > > > On Tue, No

user login to particular module

2021-11-29 Thread Mahi maheshwari
Hi, I want to create multiple users by giving permissions to certain modules only not to all modules. user should be able to log in to the particular module to which he/she has access, by using their credentials. the user cannot log in to other modules except the modules they have access to. how

how to import/export data from ofbiz to quickbooks and quickbooks to ofbiz

2021-11-29 Thread Mahi maheshwari
Hi, I have a spreadsheet folder that contains xls files in my ofbiz root directory. I want to import these xls files into ofbiz. this import of files should be automated every 5 minutes. how can I use recurrence_info, job_sandbox, recurrence_rule entities for this? is there any way to import and

how to clear data inside tables

2021-11-28 Thread Mahi maheshwari
Hi, I have loaded the data using the command "gradlew loadAll" but now I don't want data inside all tables. I want to clear the data and want to load my own data. I used gradlew "ofbiz --load-data readers=seed". Regards, Maheshwari.

Re: how to display tables with data without filling the form

2021-11-22 Thread Mahi maheshwari
2008 (without privileges) > Proud contributor to the ASF since 2006 > > *Apache Directory <https://directory.apache.org>, PMC Member* > > > On Mon, Nov 22, 2021 at 9:43 AM Mahi maheshwari > wrote: > > > Hi, > > > > I want to display the tables with

how to display tables with data without filling the form

2021-11-22 Thread Mahi maheshwari
Hi, I want to display the tables with data(like a static table) but without filling the form. for better understanding, I'm explaining in Detail. In the manufacturing module after filling the form with necessary details and clicking on the Find button, It will display the data in the table. but I

GlobalDecorator

2021-11-16 Thread Mahi maheshwari
Hi, I have created the custom visual theme for my side-bar requirement by following this doc https://github.com/apache/ofbiz-framework/blob/trunk/themes/docs/themes.adoc but I want Tomahawk theme styles, so I copied all the css, js, images into my custom theme called "xerus-theme" by following th

how to render ftl file in screen

2021-11-15 Thread Mahi maheshwari
Hi, I'm using a tomahawk theme. I want to render a navigation sidebar(side-bar ) in all the components/modules, even in sub-modules also. The navigation sidebar will have all module names. by clicking on the respective module na

build failed for 18.12.01

2021-11-11 Thread Mahi maheshwari
Hi, I have deployed ofbiz 18.12.01 in my windows system. while I'm running I'm getting this error. C:\Users\Maheshwari\Desktop\swatimam\apache-ofbiz-18.12.01\framework\catalina\src\main\java\org\apache\ofbiz\catalina\container\CatalinaContainer.java:508: warning: [deprecation] WebappLoader(java.l

Re: failed to build

2021-11-10 Thread Mahi maheshwari
there: > https://github.com/apache/ofbiz-framework/pull/334 > > Only in trunk and R18, note that 17.12.07 is no longer supported and the > bug fix has not been backported to R17. > > We will soon release 18.12.02, in the meantime I suggest to use the PR334 > solution > > HTH &

failed to build

2021-11-10 Thread Mahi maheshwari
Hi, I'm trying to run ofbiz in windows. while I'm running I'm getting this error. FAILURE: Build failed with an exception. * Where: Build file 'I:\Maahi\X-MRP_forTesting\build.gradle' line: 1169 A problem occurred evaluating root project 'ofbiz'. > Could not resolve all files for configuration

Re: how to render newly created ftl onto the page

2021-11-08 Thread Mahi maheshwari
he data to read in > the content of the Theme.xml to the database? > > >./gradlew "ofbiz --load-data readers=demo" > > I'm not 100% sure if this is still necessary. > > Jason > > On 08/11/2021 08:06, Mahi maheshwari wrote: > > Hi, > > > >

how to render newly created ftl onto the page

2021-11-08 Thread Mahi maheshwari
Hi, I have a newly created ftl file(NavSidebar.ftl) which I have to render onto the page. so far I have done this, 1) have created a plugin for the new theme called "xerusTheme" plugins/xerusTheme/data/XerusThemeDemoData.xml 2) plugins/xerusTheme/widget/Theme.xml has this http://www.w3.or

custom UI requirement

2021-11-01 Thread Mahi maheshwari
Hi, I have a custom Ui requirement that goes like It will have a header,sidebar(will be on the left hand side of the page),container(will be in the center of the page) and a footer. The layout for the ui is here => layout I hav