Using React JS to save the values in URL params

We can set the values in the URL as params for saving it. By using this even after render the saved values will be there.Created a test-component for Filter section. By using these filters we are filtering the Products on the basis of Colors, Sizes, Price, Item Name. Here useParams in code const useParams =… Continue reading Using React JS to save the values in URL params

PROPOSAL TO MAKE THE URL FOR LIQUID PIXELS CHECK PROOF CLICKABLE IN SALES ORDER RECORD

Proposal Summary This proposal covers the development to make the URL for liquid pixels check-proof clickable in the Sales order record. Requirement Currently, the URL for Liquid Pixels check-proof is added to a custom field named “IMAGE PDF URL” in the Sales Order record. The new requirement is to enable users to click on the… Continue reading PROPOSAL TO MAKE THE URL FOR LIQUID PIXELS CHECK PROOF CLICKABLE IN SALES ORDER RECORD

How to add a new parameter to the URL without affecting the current working

 newUrl = window.location.href + ‘?/toggle=enprimeur’;window.history.pushState({ path: newUrl }, ”, newUrl); This code replaces the last segment of the current URL with the string ‘retail’ and updates the browser’s history state with the new URL. Thus it will not cause any issues in the current working. Otherwise we will get “page not found” error after adding… Continue reading How to add a new parameter to the URL without affecting the current working

Java Script – encodeURI() & decodeURI()

encodeURI():This function encodes a URI by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character. It returns a new string representing the provided string encoded as a URI. This method does not encode characters like: , / ? : @ & = + $ * #Use the encodeURIComponent() method instead. decodeURI():This function… Continue reading Java Script – encodeURI() & decodeURI()

External url for the script record created

To get the script url to use in the code. In script record check the checkbox available without login and then save. Then the external available link will be available there. To enable or disable web store triggers for a user event script deployment: Open the script deployment record, for a user event script, for… Continue reading External url for the script record created