<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to add custom rule for only pdf(s) that are uploaded shouldn't have special chars, space or caps and max size limited to 5mb? in Adobe Experience Manager Forms Discussions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-add-custom-rule-for-only-pdf-s-that-are-uploaded-shouldn/m-p/449648#M2392</link>
    <description>&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the heads-up. But in the link, what I could find is how to restrict type of files to upload in assets(.img , video etc.). My question was to limit the size of pdfs and images, and use custom rules for naming where it won't allow special chars, caps, and spacing. Also there will be separate set of rules for pdf and image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried by navigating to&amp;nbsp;&lt;STRONG&gt;&lt;U&gt;/apps/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;and modified the code (shown in the image), but that gets to applied all assets in general.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Apr 2022 16:22:13 GMT</pubDate>
    <dc:creator>ac6600</dc:creator>
    <dc:date>2022-04-25T16:22:13Z</dc:date>
    <item>
      <title>How to add custom rule for only pdf(s) that are uploaded shouldn't have special chars, space or caps and max size limited to 5mb?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-add-custom-rule-for-only-pdf-s-that-are-uploaded-shouldn/m-p/449383#M2390</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I've tried by going to&amp;nbsp;&lt;U&gt;/apps/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js&lt;/U&gt; but the issue is it gets applied to all assets in general. But I want to add separate rules for PDF, and separate one for images.&lt;BR /&gt;Tried in the following manner:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ac6600_0-1650642344543.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/40384i13E2639FCDBCC75A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ac6600_0-1650642344543.png" alt="ac6600_0-1650642344543.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 15:46:23 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-add-custom-rule-for-only-pdf-s-that-are-uploaded-shouldn/m-p/449383#M2390</guid>
      <dc:creator>ac6600</dc:creator>
      <dc:date>2022-04-22T15:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom rule for only pdf(s) that are uploaded shouldn't have special chars, space or caps and max size limited to 5mb?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-add-custom-rule-for-only-pdf-s-that-are-uploaded-shouldn/m-p/449637#M2391</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Welcome to AEM Community !!&lt;/P&gt;&lt;P&gt;Did you try creating a MIME type for apply that restrictions on file upload?&lt;/P&gt;&lt;P&gt;Just like this one :&amp;nbsp;&lt;A href="https://experienceleague.adobe.com/docs/experience-manager-65/assets/administer/configuring-asset-upload-restrictions.html" target="_blank"&gt;https://experienceleague.adobe.com/docs/experience-manager-65/assets/administer/configuring-asset-upload-restrictions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikram Gaur&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 14:37:57 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-add-custom-rule-for-only-pdf-s-that-are-uploaded-shouldn/m-p/449637#M2391</guid>
      <dc:creator>Vikram_Gaur_</dc:creator>
      <dc:date>2022-04-25T14:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to add custom rule for only pdf(s) that are uploaded shouldn't have special chars, space or caps and max size limited to 5mb?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-add-custom-rule-for-only-pdf-s-that-are-uploaded-shouldn/m-p/449648#M2392</link>
      <description>&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the heads-up. But in the link, what I could find is how to restrict type of files to upload in assets(.img , video etc.). My question was to limit the size of pdfs and images, and use custom rules for naming where it won't allow special chars, caps, and spacing. Also there will be separate set of rules for pdf and image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried by navigating to&amp;nbsp;&lt;STRONG&gt;&lt;U&gt;/apps/dam/gui/coral/components/commons/fileupload/clientlibs/fileupload/js/fileupload.js&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;and modified the code (shown in the image), but that gets to applied all assets in general.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 16:22:13 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-forms/how-to-add-custom-rule-for-only-pdf-s-that-are-uploaded-shouldn/m-p/449648#M2392</guid>
      <dc:creator>ac6600</dc:creator>
      <dc:date>2022-04-25T16:22:13Z</dc:date>
    </item>
  </channel>
</rss>

