Vendor Management Details – Click Here
Learn how to build the Vendor Management page for the Smart Vendor & Procurement System using redSling UI Builder. This tutorial focuses on creating the page structure and organizing the components needed to enter, search, and display vendor information.
Start by opening the Vendor3 page and configuring the main container to use the full available width and viewport height. Divide the screen into a left navigation area occupying approximately 20% of the width and a main content area using the remaining 80%. Add the reusable navigation template fragment to maintain a consistent layout across application pages.
Next, build the Vendor Management header with the supporting description “Manage Vendor onboarding and profiles” and an Add Vendor button. Create a dedicated filtering area with a Vendor Name input, dropdown filters, and an Add Filters button.
The tutorial then walks through building the “Add new vendor” section. Add fields for vendor name, vendor type or category, email address, phone number, address, bank name, account number, and IFSC code. Configure the vendor category as a dropdown with predefined options and use a text area for the address.
You’ll also add a vendor data table with columns such as ID, Vendor Name, Status, Vendor Type, and Contact Person. Complete the form layout with Cancel and Update buttons, then review the page structure before moving on to its logic and interactions.
Topics covered
Learn how to connect the Vendor Management form to the backend using redSling Logic Builder. This tutorial explains how information entered in the form moves through component events, variables, an API payload, and an authenticated request to create a vendor record.
Begin by creating variables for vendor name, vendor type, contact person, email, phone number, address, bank name, account number, and IFSC code. Connect each form component’s Change event to its corresponding variable so the latest entered values are available when the form is submitted.
Next, configure the vendor creation API request. Combine the application’s backend URL with the route table_data/SmartVendorWeb_vendor and select the POST method. Set the Content-Type header to application/json and configure the Authorization header using the stored Usertoken value.
Use the Create Object with Key-Value Pairs V2 block to assemble the vendor payload. The object contains ten values covering vendor identification, contact details, banking information, address, and the creation timestamp. Generate the Created At value using the current date and time, and store the API response in a variable for subsequent processing.
Finally, configure the success branch to display the message “Vendor Created Successfully.” Preview the Vendor Management page and review how the form inputs, variables, request configuration, and success notification work together.
Topics covered