NOTICE: All information contained herein is, and remains
the property of TechnoCore.
The intellectual and technical concepts contained
herein are proprietary to TechnoCore and dissemination of this information or reproduction of this material
is strictly forbidden unless prior written permission is obtained
from TechnoCore.
This object is responsible for creating a shortened, trackable URL from a longer link. It uses the ObjGo service to generate this short URL.
While the name implies QR code generation, and the underlying ObjGo service does create a QR code, this specific Process method only returns the final shortened URL string.
This object relies on the ObjGo class to handle the URL shortening and mapping.
The Process method takes the following parameters:
shortcode for the URL. This is the unique identifier that will appear in the shortened link.link or URL to be shortened.The method returns the generated short URL as a string.
# Assuming 'obj' is an instance of ObjProcessText
short_code = "promo123"
destination_link = "https://www.mywebsite.com/special-offer"
optional_param = "user456"
# Generate the shortened URL
short_url = obj.Process(Param1=short_code, Param2=destination_link, Param3=optional_param)
# The 'short_url' variable will now contain the trackable short URL.
# The underlying link would be "https://www.mywebsite.com/special-offer:user456"