0

I wanted to change one js file from theme so I downloaded it.

enter image description here

Now when I made those changes I am not able to see any option to upload it. Can someone please guide me on this?

Update As Raman suggested I went to the file directly but there is no download option in Media field as shown in the image. How can I see file to download.

enter image description here

1 Answer 1

1

To make a change in the JS file,

  1. Go to that particular JS item and select it. You'll see the option to download the file. enter image description here
  2. Open the downloaded file, make changes and save it.
  3. Now go to the same item again in Sitecore and click on attach and select this file to upload. enter image description here Note: You should not directly make changes in the Optimized JS file, this file is auto-generated based on other uploaded JS files.
3
  • Thank you for the response Raman. I followed steps as suggested by I can't see download option under Media. I have updated the image in my question.
    – Imad
    Dec 25, 2021 at 8:24
  • I am pretty much sure, you have selected the raw values option. Go to View Tab in ribbon and uncheck the Raw value option. Then follow the above steps Dec 25, 2021 at 9:18
  • 1
    Indeed that was the problem. Thank you so much.
    – Imad
    Dec 25, 2021 at 11:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.