I am very new to oracle pl/sql and APEX and not familiar yet to it.
I want to make a simple CRUD project using the Oracle's Application Express : https://apex.oracle.com/en/ , but unfortunately I could not find any example or documentation. I got some courses but the versions of apex differ and a lot of things have been changed so I am not able to implement what I need.
I have created a simple new table just for practice in the following way:
Sql Workshop -> Object Browser -> Create Table
And I have a very simple table: New_Table with fields: id (INTEGER), name(VARCHAR2)
Now I want to make a simple crud website for this table, but cannot understand how the forms work.
I created a database project: App Builder -> Database Applications -> Create and got a simple web project with a blank page.
Questions:
How can I create the form and bind it to the table?
If I understand correctly, for editing a record, I should pass the id to the next page, how can I do it? or how to implement the edit page?
How can I get the data from form fields, validate it and execute an sql query using that data?
Thank you very much!
Easiest way to start is to click Create Page, choose Form, then Form on a Table with Report. Follow the wizard to select your table and columns, and viola.
It will create two pages - a report page and a single-record edit page, with navigation links between them. You can then examine the regions, items, buttons and page processes on these pages to learn how they work.
Related
I'm new to Power Automate and I'm trying to create an instant flow wherein if a select an item in Sharepoint, I can 'manually trigger a flow' to let me enter the URL go to a different website to copy some data and paste those data in one of the columns of that selected item.
I'm able to create a flow to manually trigger to fetch the data on a default website, but I'm missing the part where the flow will ask me which URL I want to do the webscrapping to be more dynamic.
Any help would be greatly appreciated.
I designed invoice by PL/SQL content with HTML and CSS but I can't set up properly page. And I can't print in PDF format.
If you just started with Apex, perhaps you'd rather use its Wizards which will help you in creating process. Although you can create a page using HTML commands - why would you?
Invoice is, I presume, stored into a table. If that's so, I'd suggest you to create a "Report with form on table" page - it'll create
interactive report, which will let you browse through all invoices you created
form, which will let you create new invoices, update or delete existing ones
Try it; it shouldn't be difficult at all.
As of printing reports in PDF format: here's what I (we) do:
I create a report using Oracle Reports Builder
put a RDF onto our IAS (Internet Application Server) machine
place its entry into the CGICMD.DAT file
call the report from Apex using a dynamic action on a button, using 2 steps:
PL/SQL, which composes URL (and adds parameters' values)
JavaScript, which calls the report (using window.open)
I understand that not everyone has the IAS up and running; it isn't trivial task at all. Quite some time ago, for my own amusement, I installed Apache Tomcat and JasperReports, just to see if I can make it work. I did. However, as my company uses IAS & Oracle Reports, I abandoned that approach.
Someone else might have other suggestions; wait a little bit for them to answer.
Is there any way how to access records of an entity which is not visible in menu/sitemap? Or the only way how can I look at these records is to allow the entity to be visible in the sitemap?
You can use Advanced Find.
You can query the records and also create a new record from there.
You can also create URLs to navigate to anything you want, see Open forms, views, dialogs and reports with a URL.
To open the Closed Opportunities view for Microsoft Dynamics CRM Online:
http://myorg.crm.dynamics.com/main.aspx?etn=opportunity&pagetype=entitylist&viewid=%7b00000000-0000-0000-00AA-000010003006%7d&viewtype=1039
I am newbie to joomla! component programming. i am creating a MVC component that users can reserve some dates.
my component should have a simple settings view that admin can manage the component.
i used some references but i have problem to create this settings view and it doesn't work.
to do this, i created a #__mycomponent_settings table and a row that holds settings data and also added these files:
com_mycomponent/controllers/settings.php
com_mycomponent/models/settings.php
com_mycomponent/models/forms/settings.xml
com_mycomponent/tables/settings.php
com_mycomponent/views/settings/view.html.php
com_mycomponent/views/settings/tmpl/default.php
I defined my fields in the xml file and loaded them to the view correctly, but the real problem that confuses me is i really don't know how to use JForm and JTable correctly to submit and save data in the database or to retrieve previously saved data and put them into the fields. or how i should use JToolbarHelper to submit data or what must be entered in the action attribute of the form. i used save button of JToolbarHelper but it takes me to the
com_mycomponent&view=settings&layout=edit
but i didn't define any edit layout everywhere in me code!
i get so confused and will be appreciated if you help me.
I'd strongly suggest using native joomla settings logic, instead of storing them on database.
You can read more about it here http://docs.joomla.org/J2.5:Developing_a_MVC_Component/Adding_configuration (read only the Adding configuration parameters part
If you have more questions implementing it, I'll be happy yo help.
I'm just starting to play around with Orchard CMS. I like what I see so far, but I need to be able to create pages that display record details for data stored in another system. Does any one know if that is possible?
I have a SQL Server database that hold real estate property record information. This information gets displayed on the web. On that same website are informational content pages (FAQs, Contact Us, Home, etc...) What I would like to to is leverage the CMS portion of Orchard for the content pages. Then I would like to write a module using the Orchard that would get the real estate info, allow users to search parcels, and display detail pages for each parcel.
If you view the site http://www.sc-pa.com/search you can search by last name "smith" and select one record. That may help illustrate what I need Orchard to do.
Yes, that is possible, but your scenario is way too vague to get into any specifics. Can you elaborate on exactly what you are trying to do: what does the external data look like, where is it stored, how do you want to integrate it into Orchard, do you need any integration with content types and parts, or with search, etc.
One alternative is to expose ur data as web service or odata endpoint and then use jquery to do asynch call to get json data. Then ur home free.
Create a page and put the javascript in that or include a ref to js file.