<?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: trying to override bean id of UserCSVUploadPost class in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24094#M10504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a different question, you should start a new thread for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Oct 2017 12:17:25 GMT</pubDate>
    <dc:creator>yreg</dc:creator>
    <dc:date>2017-10-10T12:17:25Z</dc:date>
    <item>
      <title>trying to override bean id of UserCSVUploadPost class</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24085#M10495</link>
      <description>I have created a behaviour class NewUserEmail.java to auto generate an email with username and password while creating a new user mannualy and It is working fine. but this behaviour is automatically calls when I am creating multiple users by uploading CSV file. so users are getting two autogenerated</description>
      <pubDate>Sat, 07 Oct 2017 11:43:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24085#M10495</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2017-10-07T11:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: trying to override bean id of UserCSVUploadPost class</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24086#M10496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To override Out Of The Box WebScripts you will probably need to place your &amp;lt;some&amp;gt;-context.xml file in the extensions directory not in the module directory, otherwise your bean will get overridden by alfresco's defaults.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 08:50:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24086#M10496</guid>
      <dc:creator>yreg</dc:creator>
      <dc:date>2017-10-10T08:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: trying to override bean id of UserCSVUploadPost class</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24087#M10497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes. I have created custom-context.xml file inside extensions directory having content : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version='1.0' encoding='UTF-8'?&amp;gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/dtd/spring-beans.dtd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/dtd/spring-beans.dtd&lt;/A&gt;&lt;SPAN&gt;'&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;lt;beans&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;import resource="classpath*:alfresco/module/*/module-webscripts-context.xml" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="webscript.org.alfresco.repository.person.user-csv-upload.post"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;class="com.eisenvault.mailTest.CustomUserBulkUpload" parent="webscript"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="authenticationService" ref="AuthenticationService" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="authorityService" ref="AuthorityService" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="personService" ref="PersonService" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="tenantService" ref="tenantService" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="dictionaryService" ref="DictionaryService" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;property name="transactionHelper" ref="web.retryingTransactionHelper" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 08:56:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24087#M10497</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2017-10-10T08:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: trying to override bean id of UserCSVUploadPost class</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24088#M10498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but its not working. I want to create multiple users by uploading CSV but dont want to send emails to the users. this is what I am trying to do. do you have any idea how to stop those mails.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 08:59:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24088#M10498</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2017-10-10T08:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: trying to override bean id of UserCSVUploadPost class</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24089#M10499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try renaming the file to custom-web-context.xml, not sure if you should keep the import statement though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 09:04:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24089#M10499</guid>
      <dc:creator>yreg</dc:creator>
      <dc:date>2017-10-10T09:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: trying to override bean id of UserCSVUploadPost class</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24090#M10500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much for your help. its working now with custom-web-context.xml. can you please help me to understand, why alfresco is working with this file name and how ?&lt;BR /&gt;and Is there any other way to override webscripts ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 09:45:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24090#M10500</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2017-10-10T09:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: trying to override bean id of UserCSVUploadPost class</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24091#M10501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The main &lt;A href="https://github.com/Alfresco/community-edition-old/blob/2c1eff9953d3105e738f7b06ba9ba8a079ca4c24/projects/web-client/source/web/WEB-INF/web-application-context.xml#L12" rel="nofollow noopener noreferrer"&gt;web application context&lt;/A&gt; loads in this order :&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;the application context (which among others does load your module context)&lt;/LI&gt;&lt;LI&gt;the web scripts application context (which loads the OOTB webscripts, overriding any definition you have in your module context)&lt;/LI&gt;&lt;LI&gt;the&amp;nbsp;enterprise web scripts application context (which loads the OOTB enterprise webscripts, overriding any definition you have in your module context, or in an OOTB community webscript)&lt;/LI&gt;&lt;LI&gt;the custom-web-context.xml (the extension entry point for OOTB webscript)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should then use a file from this classpath location "&lt;SPAN style="color: #032f62; background-color: #fffbdd;"&gt;classpath*:alfresco/extension/custom-web-context.xml&lt;/SPAN&gt;" to override OOTB webscripts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 09:59:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24091#M10501</guid>
      <dc:creator>yreg</dc:creator>
      <dc:date>2017-10-10T09:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: trying to override bean id of UserCSVUploadPost class</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24092#M10502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extend/Override Users.js, which is located inside Share/Components/console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside that file there is one function named as&amp;nbsp;&lt;STRONG&gt;onUploadUsersClick&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside this function replace below line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uploadURL: "api/people/upload.html",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uploadURL: "api/people/upload.html?email=false",&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Above change will solve your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 11:37:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24092#M10502</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2017-10-10T11:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: trying to override bean id of UserCSVUploadPost class</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24093#M10503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to hide the "password" and "verify password" fields on UI of creating new user. I think it must be some .html.ftl file. but I am not able to file the exact name of the file. do you have any idea about the file name ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/alfresco/16727_Screenshot from 2017-10-10 17-32-15.png" style="width: 620px; height: 314px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 12:06:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24093#M10503</guid>
      <dc:creator>monicakumari</dc:creator>
      <dc:date>2017-10-10T12:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: trying to override bean id of UserCSVUploadPost class</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24094#M10504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a different question, you should start a new thread for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 12:17:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-override-bean-id-of-usercsvuploadpost-class/m-p/24094#M10504</guid>
      <dc:creator>yreg</dc:creator>
      <dc:date>2017-10-10T12:17:25Z</dc:date>
    </item>
  </channel>
</rss>

