RbiSearchHeader

Press escape key to go back

Past Searches

Theme
Theme
Text Size
Text Size
S1

RbiAnnouncementWeb

RBI Announcements
RBI Announcements

Custom Date Facet

RBIDateFilter

Weekly Statistical Supplement Date Wise

Refine search

  • Clear all filters

Search Results

An error occurred while processing the template.
The following has evaluated to null or missing:
==> request.getParameter("publishDateFrom")  [in template "20099#20125#21723122" at line 14, column 33]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign ParamValueFrom = request.getP...  [in template "20099#20125#21723122" at line 14, column 9]
----
1<#assign 
2				  
3AssetEntryLocalServiceUtil=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") 
4AssetTagLocalServiceUtil=serviceLocator.findService("com.liferay.asset.kernel.service.AssetTagLocalService")		  
5DLFileEntryLocalService=serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") 
6JournalArticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")		  
7				 currentUrl=themeDisplay.getCDNBaseURL() + themeDisplay.getURLCurrent()		 
8				 ParamValue="" 
9				 /> 
10<#if (!currentUrl?contains("delta") && !currentUrl?contains("start"))> 
11	 
12			 
13<#if (currentUrl?contains("publishDateFrom") || currentUrl?contains("publishDateTo"))> 
14	<#assign ParamValueFrom=request.getParameter("publishDateFrom")/> 
15	<#assign ParamValueTo=request.getParameter("publishDateTo")/> 
16	 
17	 
18	 
19	<#if (ParamValueFrom==ParamValueTo)> 
20 
21	 
22 
23 
24<#assign groupId="" assetTitle=""/> 
25<#assign isTagAvailable = false /> 
26<#assign wssAssetId = 0 />  
27	<!--<#if entries?has_content> 
28		<#list entries as curEntry> 
29			<#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK())/> 
30			<#assign UUID="" 
31				assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK()) 
32				assetTitle=assetEntry.getTitle(locale) 
33				contentPublishDate=assetEntry.publishDate 
34			/> 
35			<#list assetEntry.tagNames as tag> 
36				<#if tag == "wss-header"> 
37					<#assign isTagAvailable = true />  
38					<input type="hidden" id="data-wss-asset-id"  value="${assetEntry.getEntryId()}"> 
39				</#if> 
40			</#list> 
41		</#list> 
42	</#if>--> 
43 
44<#-- Start --> 
45<!--<#assign assetTag = AssetTagLocalServiceUtil.getTag(themeDisplay.getScopeGroupId(), "wss-header") />  
46 
47<#assign wssHeaderAssets=AssetEntryLocalServiceUtil.getAssetTagAssetEntries(assetTag.tagId) /><#if entries?has_content> 
48	<#list wssHeaderAssets as wssHeaderAsset> 
49	</#list> 
50</#if>--> 
51<#-- End--> 
52 
53<!--<#assign breadURL = themeDisplay.getPortalURL()+themeDisplay.getURLCurrent()/>--> 
54 
55<div class="Notification-content-wrap weekly-statistical-supplement details_page_top_spacing full-width" tabindex="0"> 
56	<div class="container block-section-spacing"> 
57		<div class="row"> 
58			<div class="col-12"> 
59				<div class="notifications-page-header full-width"> 
60					<div class="row no-gutters"> 
61						<div class="col-12"> 
62						   <h3 class="section-heading">  
63							  <#if contentPublishDate?has_content> 
64							  ${dateUtil.getDate(contentPublishDate?date, "dd MMM yyyy", locale)} 
65							  <#assign cpDate = dateUtil.getDate(contentPublishDate?date, "yyyy-MM-dd", locale)> 
66							  </#if> 
67						   </h3> 
68						</div> 
69					 </div> 
70				</div> 
71			</div> 
72		<div class="col-12"> 
73			<div class="notifications-row-wrapper list-row-spacing"> 
74				<div class="row"> 
75					<#if entries?has_content>			 
76						 
77						 
78						 
79						 
80						 
81						 
82						 
83						 
84						 
85						 
86						 
87						 
88						 
89						<#list entries as curEntry>		 
90							 
91							 
92							 
93							 
94							 
95							 
96							 
97							 
98							 
99							 
100							 
101							 
102							 
103							 
104							 
105							 
106							 
107							<#assign UUID="" 
108								UUIDs = "" 
109								assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(), 
110								curEntry.getClassPK()) 
111								assetTitle=assetEntry.getTitle(locale) 
112								fileSize=""  
113								docURL=""  
114								excelURL=""  
115								excelFileSize="" 
116											 contentPublishDate=assetEntry.publishDate 
117							/> 
118							 
119							 
120							 
121							<#list assetEntry.tagNames as tag> 
122				<#if tag == "wss-header"> 
123					<#assign isTagAvailable = true />  
124					<input type="hidden" id="data-wss-asset-id"  value="${assetEntry.getEntryId()}"> 
125				</#if> 
126			</#list> 
127 
128							 
129							<#assign viewURL=curEntry.getViewURL()?split('?')[0] /> 
130							<#if assetEntry.getClassName()=="com.liferay.journal.model.JournalArticle"> 
131								<#assign article=assetEntry.getAssetRenderer().getArticle() id=article.getId()                                        
132									groupId=article.getGroupId() 
133									URL=article.getExpandoBridge().getAttribute("pdf-url")  
134									ExcelURL=article.getExpandoBridge().getAttribute("doc-url")/> 
135								<#assign content=saxReaderUtil.read(article.getContentByLocale(locale)) 
136									notificationId=content.valueOf("//dynamic-element[@name='Numeric68058098']/dynamic-content") 
137									description=content.valueOf("//dynamic-element[@name='RichText92604564']/dynamic-content") publishDate=assetEntry.publishDate 
138									articleTitle=content.valueOf("//dynamic-element[@name='Text38353913']/dynamic-content")		  
139								/> 
140							</#if> 
141							<#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK())/> 
142							<#assign assetTag=AssetTagLocalServiceUtil.getAssetEntryAssetTags(assetEntry.entryId)/> 
143							<#if assetTag?has_content> 
144								<#if assetTag[0].name=="wss-header"> 
145									<div class="col-12 wssHeader"> 
146								<#else> 
147									<div class="col-12 non-wssHeader"> 
148								</#if> 
149							<#else> 
150								<div class="col-12 non-wssHeader"> 
151							</#if> 
152							<div class="notification-row-each"> 
153								<div class="notification-row-each-inner"> 
154									<#assign redirectURL="${viewURL}"  /> 
155									<a href="${redirectURL}" class="mtm_list_item_heading"> 
156										<div class="notifications-heading c-tooltips position-relative"> 
157											<span>${articleTitle}</span>		 
158											<div class="custom-tooltip"> 
159												<div class="tooltip-arrow-up"></div> 
160												<div class="tooltip-content"> 
161													${assetEntry.getSummary(locale)} 
162												</div> 
163												<div class="tooltip-content-hidden" style="display:none"> 
164													${assetEntry.getSummary(locale)} 
165												</div> 
166											</div> 
167										</div> 
168										<div class="notifications-heading-hidden" style="display:none"> 
169											${assetEntry.getTitle(locale)} 
170										</div> 
171									</a> 
172								<div class="notifications-description-hidden" style="display:none"> 
173									<#if assetEntry.getSummary(locale)?has_content> 
174										${assetEntry.getSummary(locale)} 
175									</#if> 
176								</div> 
177								 
178								<!--buttons--> 
179									<#if URL?has_content> 
180										<#list URL?keys as key> 
181											<#if key==locale> 
182												<#assign docURL=URL?values[key_index] /> 
183											</#if> 
184											 
185										</#list> 
186									</#if> 
187									<!-- <span id="docURL">${docURL}</span> --> 
188				 
189									<#if ExcelURL?has_content> 
190										<#list ExcelURL?keys as key> 
191											<#if key==locale> 
192												<#assign excelURL=ExcelURL?values[key_index] /> 
193											</#if> 
194											 
195										</#list> 
196									</#if> 
197									<!-- <span id="excelURL1">${excelURL}</span> --> 
198									<#if warningMessageLocale?has_content> 
199										<#list warningMessageLocale?keys as key> 
200											<#if key==locale> 
201												<#assign warningMessage=warningMessageLocale?values[key_index] /> 
202											</#if> 
203										</#list> 
204									</#if> 
205									<#if docURL?has_content> 
206										<#list docURL?split("/") as sValue> 
207											<#if sValue?is_last> 
208												<#list sValue?split("?") as uuid> 
209													<#if uuid?is_first> 
210														<#assign UUID=uuid /> 
211													</#if> 
212												</#list> 
213											</#if> 
214										</#list> 
215									</#if> 
216									<#if excelURL?has_content> 
217										<#list excelURL?split("/") as sValue> 
218											<#if sValue?is_last> 
219												<#list sValue?split("?") as uuid> 
220													<#if uuid?is_first> 
221														<#assign UUIDs=uuid /> 
222													</#if> 
223												</#list> 
224											</#if> 
225										</#list> 
226									</#if> 
227									<#if UUID?has_content> 
228										<#if groupId?has_content> 
229											<#attempt> 
230												<#assign 
231													DLFileEntry=DLFileEntryLocalService.fetchFileEntry(UUID,groupId?number) 
232													fileSize=DLFileEntry.getSize() fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLFileEntry.getFileEntryId()) 
233													docURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay) /> 
234												<#recover> 
235											</#attempt> 
236										</#if> 
237                           </#if> 
238                           <#if UUIDs?has_content> 
239                           <#if groupId?has_content> 
240                           <#attempt> 
241                           <#assign 
242                           DLFileEntry=DLFileEntryLocalService.fetchFileEntry(UUIDs,groupId?number) 
243                           excelFileSize=DLFileEntry.getSize() 
244                           fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLFileEntry.getFileEntryId()) 
245                           excelURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay) /> 
246                           <#recover> 
247                           </#attempt> 
248                           </#if> 
249                           </#if> 
250						    
251                           <div class="download-pdf-wrapper"> 
252                              <div class="btn-wrap"> 
253                                 <#if docURL?? && docURL?has_content> 
254                                 <div class="inner-wrap"> 
255                                    <a href="${docURL?split('?')[0]}" target="_blank" 
256                                       class="matomo_download "> 
257                                    <img src="/documents/70233/0/fileDownload.svg" 
258                                       class="downloadFile" 
259                                       alt="${languageUtil.get(locale,'download')}" 
260                                       title="${languageUtil.get(locale,'download')}"> 
261                                    ${languageUtil.get(locale,'pdf')} (<span class="fileSize">${fileSize}</span> ) 
262                                    </a> 
263                                 </div> 
264                                 </#if> 
265                                 <#if excelURL?? && excelURL?has_content> 
266                                 <div class="inner-wrap"> 
267                                    <!-- <span id="excelurl2">${excelURL}</span> --> 
268                                    <a href="${excelURL?split('?')[0]}" target="_blank" 
269                                       class="matomo_download "> 
270                                    <img src="/documents/70233/0/fileDownload.svg" 
271                                       class="downloadFile" 
272                                       alt="${languageUtil.get(locale,'download')}" 
273                                       title="${languageUtil.get(locale,'download')}"> 
274                                    ${languageUtil.get(locale,'excel')} (<span class="fileSize">${excelFileSize}</span> ) 
275                                    </a> 
276                                 </div> 
277                                 </#if>									 
278                              </div> 
279                           </div> 
280                        </div> 
281                     </div> 
282                  </div> 
283                  </#list> 
284                  </#if> 
285               </div> 
286            </div> 
287         </div> 
288      </div> 
289   </div> 
290</div> 
291<#assign currentUrl = themeDisplay.getURLCurrent()/> 
292<#if currentUrl?contains('-/')> 
293<#assign urlTitle = currentUrl?split('-/')[1] 
294urlTitleWithVersion = urlTitle?split('?') 
295redirectUrl=""/>	 
296<#if !currentUrl?contains("publishDateFrom=") && !currentUrl?contains("publishDateTo=")> 
297<#assign 	journalArticle = 	 JournalArticleLocalService.fetchArticleByUrlTitle(themeDisplay.getScopeGroupId(),urlTitleWithVersion[0]) 
298jrArticle = AssetEntryLocalServiceUtil.fetchEntry("com.liferay.journal.model.JournalArticle",journalArticle.resourcePrimKey )/> 
299<#if jrArticle.publishDate?has_content> 
300<#assign publishDate = jrArticle.publishDate?datetime?string('yyyy-MM-dd')/> 
301<#if urlTitle?contains("version=") > 
302<#assign redirectUrl = currentUrl+"&publishDateFrom="+publishDate+"&publishDateTo="+publishDate/> 
303<#else> 
304<#assign redirectUrl = currentUrl+"?publishDateFrom="+publishDate+"&publishDateTo="+publishDate/> 
305</#if> 
306<#else> 
307<#assign article=jrArticle.getAssetRenderer().getArticle() 
308content=saxReaderUtil.read(article.getContentByLocale(locale)) 
309publishDate=content.valueOf("//dynamic-element[@name='Date61158357']/dynamic-content")	 /> 
310<!--<#if urlTitle?contains("version=") >--> 
311<#assign redirectUrl = currentUrl+"&publishDateFrom="+publishDate+"&publishDateTo="+publishDate/> 
312<!--<#else> 
313<#assign redirectUrl = currentUrl+"?publishDateFrom="+publishDate+"&publishDateTo="+publishDate/> 
314</#if>--> 
315</#if>	 
316</#if> 
317</#if>									 
318<#assign authTokenUtil = staticUtil["com.liferay.portal.kernel.security.auth.AuthTokenUtil"]/> 
319<#assign token = authTokenUtil.getToken(request)/>	 
320	 
321 
322<script> 
323   document.addEventListener("DOMContentLoaded", function() { 
324   	   }); 
325    
326      
327    
328      $(document).ready(function () { 
329   		<#if redirectUrl?? >  
330   		var redirectUrl = "${redirectUrl}"; 
331     if(redirectUrl != "" && redirectUrl !== ""){ 
332   		window.location.href = redirectUrl;  
333
334   						</#if> 
335 
336   		//If parent with wss-header tag is available then only 251 - 256 will work 
337   		if($('.notifications-row-wrapper div').hasClass('wssHeader')) { 
338   			var parentRow=$(".notifications-row-wrapper").children().eq(0); 
339   			var  selectedHeaderRow=$(".wssHeader"); 
340   			selectedHeaderRow.insertBefore(parentRow.children().eq(0)); 
341   			$(".mtm_list_item_heading").eq(0).css('pointer-events','none'); 
342
343   	 
344   			//changeActiveBreadcrumb(); 
345          $(".fileSize").each(function () { 
346              var fileSize = $(this).html() 
347              if (fileSize != "") { 
348                  $(this).html(formatFileSize(parseInt(fileSize), 2)) 
349
350          }); 
351    
352          function formatFileSize(bytes, decimalPoint) { 
353              if (bytes == 0) 
354                  return '0 Bytes'; 
355              var k = 1024, 
356                  dm = decimalPoint || 2, 
357                  sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], 
358                  i = Math.floor(Math.log(bytes) / Math.log(k)); 
359              return (parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]); 
360
361   		//hiding the pagination bar 
362        	hidePaginationBar(); 
363   		 
364      }); 
365    
366   	function changeActiveBreadcrumb(){ 
367   		 
368   		var apiUrl = "${themeDisplay.getURLPortal()}/o/rbi-wss-headless/v1.0/getParentWss?publishedDate=${cpDate}&locale=${locale}&token_auth=${token}"; 
369  
370   				 
371   		$.ajax({ 
372   					type: "GET", 
373   					crossDomain: true, 
374   					url: apiUrl, 
375            success: function(data) { 
376   					$('.breadcrumb-item.active.breadcrumb-item-name').text(data.title); 
377
378   			}); 
379   		 
380   		 
381   		let text =$(".wssHeader").children().children().children().children().children().eq(0).text(); 
382   		let wssAssetId = $("#data-wss-asset-id ").val(); 
383   		$(".non-wssHeader").siblings().each(function(){ 
384   				var linkTag=$(this).children().children(); 
385   				var link=$('.mtm_list_item_heading', linkTag).attr('href'); 
386   				$('.mtm_list_item_heading[href]	',linkTag).attr("href", link);	 
387   		 }); 
388   		//let afterdnoneText=$('div.d-none[data-active]').text(); 
389   	}; 
390    
391   //hiding the pagination bar 
392   	function hidePaginationBar(){ 
393   		$(".pagination-bar").hide(); 
394			$(".pagination-bar").html(""); 
395   	}; 
396    
397    
398   	//when list is available then removing this class 
399   		$("#apply-button").removeClass("disabled"); 
400    
401   //Please dont change these method 
402   		changeActiveBreadcrumb(); 
403   		hidePaginationBar(); 
404   $( ".pagination-bar" ).load(function() { 
405    // Handler for .load() called. 
406   $(".pagination-bar").hide(); 
407   }); 
408    
409</script> 
410 
411	 
412					  
413	 
414 
415 
416			 
417	</#if>	 
418	<#else> 
419	 
420 
421 
422<#assign groupId="" assetTitle=""/> 
423<#assign isTagAvailable = false /> 
424<#assign wssAssetId = 0 />  
425	<!--<#if entries?has_content> 
426		<#list entries as curEntry> 
427			<#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK())/> 
428			<#assign UUID="" 
429				assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK()) 
430				assetTitle=assetEntry.getTitle(locale) 
431				contentPublishDate=assetEntry.publishDate 
432			/> 
433			<#list assetEntry.tagNames as tag> 
434				<#if tag == "wss-header"> 
435					<#assign isTagAvailable = true />  
436					<input type="hidden" id="data-wss-asset-id"  value="${assetEntry.getEntryId()}"> 
437				</#if> 
438			</#list> 
439		</#list> 
440	</#if>--> 
441 
442<#-- Start --> 
443<!--<#assign assetTag = AssetTagLocalServiceUtil.getTag(themeDisplay.getScopeGroupId(), "wss-header") />  
444 
445<#assign wssHeaderAssets=AssetEntryLocalServiceUtil.getAssetTagAssetEntries(assetTag.tagId) /><#if entries?has_content> 
446	<#list wssHeaderAssets as wssHeaderAsset> 
447	</#list> 
448</#if>--> 
449<#-- End--> 
450 
451<!--<#assign breadURL = themeDisplay.getPortalURL()+themeDisplay.getURLCurrent()/>--> 
452 
453<div class="Notification-content-wrap weekly-statistical-supplement details_page_top_spacing full-width" tabindex="0"> 
454	<div class="container block-section-spacing"> 
455		<div class="row"> 
456			<div class="col-12"> 
457				<div class="notifications-page-header full-width"> 
458					<div class="row no-gutters"> 
459						<div class="col-12"> 
460						   <h3 class="section-heading">  
461							  <#if contentPublishDate?has_content> 
462							  ${dateUtil.getDate(contentPublishDate?date, "dd MMM yyyy", locale)} 
463							  <#assign cpDate = dateUtil.getDate(contentPublishDate?date, "yyyy-MM-dd", locale)> 
464							  </#if> 
465						   </h3> 
466						</div> 
467					 </div> 
468				</div> 
469			</div> 
470		<div class="col-12"> 
471			<div class="notifications-row-wrapper list-row-spacing"> 
472				<div class="row"> 
473					<#if entries?has_content>			 
474						 
475						 
476						 
477						 
478						 
479						 
480						 
481						 
482						 
483						 
484						 
485						 
486						 
487						<#list entries as curEntry>		 
488							 
489							 
490							 
491							 
492							 
493							 
494							 
495							 
496							 
497							 
498							 
499							 
500							 
501							 
502							 
503							 
504							 
505							<#assign UUID="" 
506								UUIDs = "" 
507								assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(), 
508								curEntry.getClassPK()) 
509								assetTitle=assetEntry.getTitle(locale) 
510								fileSize=""  
511								docURL=""  
512								excelURL=""  
513								excelFileSize="" 
514											 contentPublishDate=assetEntry.publishDate 
515							/> 
516							 
517							 
518							 
519							<#list assetEntry.tagNames as tag> 
520				<#if tag == "wss-header"> 
521					<#assign isTagAvailable = true />  
522					<input type="hidden" id="data-wss-asset-id"  value="${assetEntry.getEntryId()}"> 
523				</#if> 
524			</#list> 
525 
526							 
527							<#assign viewURL=curEntry.getViewURL()?split('?')[0] /> 
528							<#if assetEntry.getClassName()=="com.liferay.journal.model.JournalArticle"> 
529								<#assign article=assetEntry.getAssetRenderer().getArticle() id=article.getId()                                        
530									groupId=article.getGroupId() 
531									URL=article.getExpandoBridge().getAttribute("pdf-url")  
532									ExcelURL=article.getExpandoBridge().getAttribute("doc-url")/> 
533								<#assign content=saxReaderUtil.read(article.getContentByLocale(locale)) 
534									notificationId=content.valueOf("//dynamic-element[@name='Numeric68058098']/dynamic-content") 
535									description=content.valueOf("//dynamic-element[@name='RichText92604564']/dynamic-content") publishDate=assetEntry.publishDate 
536									articleTitle=content.valueOf("//dynamic-element[@name='Text38353913']/dynamic-content")		  
537								/> 
538							</#if> 
539							<#assign assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(),curEntry.getClassPK())/> 
540							<#assign assetTag=AssetTagLocalServiceUtil.getAssetEntryAssetTags(assetEntry.entryId)/> 
541							<#if assetTag?has_content> 
542								<#if assetTag[0].name=="wss-header"> 
543									<div class="col-12 wssHeader"> 
544								<#else> 
545									<div class="col-12 non-wssHeader"> 
546								</#if> 
547							<#else> 
548								<div class="col-12 non-wssHeader"> 
549							</#if> 
550							<div class="notification-row-each"> 
551								<div class="notification-row-each-inner"> 
552									<#assign redirectURL="${viewURL}"  /> 
553									<a href="${redirectURL}" class="mtm_list_item_heading"> 
554										<div class="notifications-heading c-tooltips position-relative"> 
555											<span>${articleTitle}</span>		 
556											<div class="custom-tooltip"> 
557												<div class="tooltip-arrow-up"></div> 
558												<div class="tooltip-content"> 
559													${assetEntry.getSummary(locale)} 
560												</div> 
561												<div class="tooltip-content-hidden" style="display:none"> 
562													${assetEntry.getSummary(locale)} 
563												</div> 
564											</div> 
565										</div> 
566										<div class="notifications-heading-hidden" style="display:none"> 
567											${assetEntry.getTitle(locale)} 
568										</div> 
569									</a> 
570								<div class="notifications-description-hidden" style="display:none"> 
571									<#if assetEntry.getSummary(locale)?has_content> 
572										${assetEntry.getSummary(locale)} 
573									</#if> 
574								</div> 
575								 
576								<!--buttons--> 
577									<#if URL?has_content> 
578										<#list URL?keys as key> 
579											<#if key==locale> 
580												<#assign docURL=URL?values[key_index] /> 
581											</#if> 
582											 
583										</#list> 
584									</#if> 
585									<!-- <span id="docURL">${docURL}</span> --> 
586				 
587									<#if ExcelURL?has_content> 
588										<#list ExcelURL?keys as key> 
589											<#if key==locale> 
590												<#assign excelURL=ExcelURL?values[key_index] /> 
591											</#if> 
592											 
593										</#list> 
594									</#if> 
595									<!-- <span id="excelURL1">${excelURL}</span> --> 
596									<#if warningMessageLocale?has_content> 
597										<#list warningMessageLocale?keys as key> 
598											<#if key==locale> 
599												<#assign warningMessage=warningMessageLocale?values[key_index] /> 
600											</#if> 
601										</#list> 
602									</#if> 
603									<#if docURL?has_content> 
604										<#list docURL?split("/") as sValue> 
605											<#if sValue?is_last> 
606												<#list sValue?split("?") as uuid> 
607													<#if uuid?is_first> 
608														<#assign UUID=uuid /> 
609													</#if> 
610												</#list> 
611											</#if> 
612										</#list> 
613									</#if> 
614									<#if excelURL?has_content> 
615										<#list excelURL?split("/") as sValue> 
616											<#if sValue?is_last> 
617												<#list sValue?split("?") as uuid> 
618													<#if uuid?is_first> 
619														<#assign UUIDs=uuid /> 
620													</#if> 
621												</#list> 
622											</#if> 
623										</#list> 
624									</#if> 
625									<#if UUID?has_content> 
626										<#if groupId?has_content> 
627											<#attempt> 
628												<#assign 
629													DLFileEntry=DLFileEntryLocalService.fetchFileEntry(UUID,groupId?number) 
630													fileSize=DLFileEntry.getSize() fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLFileEntry.getFileEntryId()) 
631													docURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay) /> 
632												<#recover> 
633											</#attempt> 
634										</#if> 
635                           </#if> 
636                           <#if UUIDs?has_content> 
637                           <#if groupId?has_content> 
638                           <#attempt> 
639                           <#assign 
640                           DLFileEntry=DLFileEntryLocalService.fetchFileEntry(UUIDs,groupId?number) 
641                           excelFileSize=DLFileEntry.getSize() 
642                           fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry",DLFileEntry.getFileEntryId()) 
643                           excelURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay) /> 
644                           <#recover> 
645                           </#attempt> 
646                           </#if> 
647                           </#if> 
648						    
649                           <div class="download-pdf-wrapper"> 
650                              <div class="btn-wrap"> 
651                                 <#if docURL?? && docURL?has_content> 
652                                 <div class="inner-wrap"> 
653                                    <a href="${docURL?split('?')[0]}" target="_blank" 
654                                       class="matomo_download "> 
655                                    <img src="/documents/70233/0/fileDownload.svg" 
656                                       class="downloadFile" 
657                                       alt="${languageUtil.get(locale,'download')}" 
658                                       title="${languageUtil.get(locale,'download')}"> 
659                                    ${languageUtil.get(locale,'pdf')} (<span class="fileSize">${fileSize}</span> ) 
660                                    </a> 
661                                 </div> 
662                                 </#if> 
663                                 <#if excelURL?? && excelURL?has_content> 
664                                 <div class="inner-wrap"> 
665                                    <!-- <span id="excelurl2">${excelURL}</span> --> 
666                                    <a href="${excelURL?split('?')[0]}" target="_blank" 
667                                       class="matomo_download "> 
668                                    <img src="/documents/70233/0/fileDownload.svg" 
669                                       class="downloadFile" 
670                                       alt="${languageUtil.get(locale,'download')}" 
671                                       title="${languageUtil.get(locale,'download')}"> 
672                                    ${languageUtil.get(locale,'excel')} (<span class="fileSize">${excelFileSize}</span> ) 
673                                    </a> 
674                                 </div> 
675                                 </#if>									 
676                              </div> 
677                           </div> 
678                        </div> 
679                     </div> 
680                  </div> 
681                  </#list> 
682                  </#if> 
683               </div> 
684            </div> 
685         </div> 
686      </div> 
687   </div> 
688</div> 
689<#assign currentUrl = themeDisplay.getURLCurrent()/> 
690<#if currentUrl?contains('-/')> 
691<#assign urlTitle = currentUrl?split('-/')[1] 
692urlTitleWithVersion = urlTitle?split('?') 
693redirectUrl=""/>	 
694<#if !currentUrl?contains("publishDateFrom=") && !currentUrl?contains("publishDateTo=")> 
695<#assign 	journalArticle = 	 JournalArticleLocalService.fetchArticleByUrlTitle(themeDisplay.getScopeGroupId(),urlTitleWithVersion[0]) 
696jrArticle = AssetEntryLocalServiceUtil.fetchEntry("com.liferay.journal.model.JournalArticle",journalArticle.resourcePrimKey )/> 
697<#if jrArticle.publishDate?has_content> 
698<#assign publishDate = jrArticle.publishDate?datetime?string('yyyy-MM-dd')/> 
699<#if urlTitle?contains("version=") > 
700<#assign redirectUrl = currentUrl+"&publishDateFrom="+publishDate+"&publishDateTo="+publishDate/> 
701<#else> 
702<#assign redirectUrl = currentUrl+"?publishDateFrom="+publishDate+"&publishDateTo="+publishDate/> 
703</#if> 
704<#else> 
705<#assign article=jrArticle.getAssetRenderer().getArticle() 
706content=saxReaderUtil.read(article.getContentByLocale(locale)) 
707publishDate=content.valueOf("//dynamic-element[@name='Date61158357']/dynamic-content")	 /> 
708<!--<#if urlTitle?contains("version=") >--> 
709<#assign redirectUrl = currentUrl+"&publishDateFrom="+publishDate+"&publishDateTo="+publishDate/> 
710<!--<#else> 
711<#assign redirectUrl = currentUrl+"?publishDateFrom="+publishDate+"&publishDateTo="+publishDate/> 
712</#if>--> 
713</#if>	 
714</#if> 
715</#if>									 
716<#assign authTokenUtil = staticUtil["com.liferay.portal.kernel.security.auth.AuthTokenUtil"]/> 
717<#assign token = authTokenUtil.getToken(request)/>	 
718	 
719 
720<script> 
721   document.addEventListener("DOMContentLoaded", function() { 
722   	   }); 
723    
724      
725    
726      $(document).ready(function () { 
727   		<#if redirectUrl?? >  
728   		var redirectUrl = "${redirectUrl}"; 
729     if(redirectUrl != "" && redirectUrl !== ""){ 
730   		window.location.href = redirectUrl;  
731
732   						</#if> 
733 
734   		//If parent with wss-header tag is available then only 251 - 256 will work 
735   		if($('.notifications-row-wrapper div').hasClass('wssHeader')) { 
736   			var parentRow=$(".notifications-row-wrapper").children().eq(0); 
737   			var  selectedHeaderRow=$(".wssHeader"); 
738   			selectedHeaderRow.insertBefore(parentRow.children().eq(0)); 
739   			$(".mtm_list_item_heading").eq(0).css('pointer-events','none'); 
740
741   	 
742   			//changeActiveBreadcrumb(); 
743          $(".fileSize").each(function () { 
744              var fileSize = $(this).html() 
745              if (fileSize != "") { 
746                  $(this).html(formatFileSize(parseInt(fileSize), 2)) 
747
748          }); 
749    
750          function formatFileSize(bytes, decimalPoint) { 
751              if (bytes == 0) 
752                  return '0 Bytes'; 
753              var k = 1024, 
754                  dm = decimalPoint || 2, 
755                  sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], 
756                  i = Math.floor(Math.log(bytes) / Math.log(k)); 
757              return (parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]); 
758
759   		//hiding the pagination bar 
760        	hidePaginationBar(); 
761   		 
762      }); 
763    
764   	function changeActiveBreadcrumb(){ 
765   		 
766   		var apiUrl = "${themeDisplay.getURLPortal()}/o/rbi-wss-headless/v1.0/getParentWss?publishedDate=${cpDate}&locale=${locale}&token_auth=${token}"; 
767  
768   				 
769   		$.ajax({ 
770   					type: "GET", 
771   					crossDomain: true, 
772   					url: apiUrl, 
773            success: function(data) { 
774   					$('.breadcrumb-item.active.breadcrumb-item-name').text(data.title); 
775
776   			}); 
777   		 
778   		 
779   		let text =$(".wssHeader").children().children().children().children().children().eq(0).text(); 
780   		let wssAssetId = $("#data-wss-asset-id ").val(); 
781   		$(".non-wssHeader").siblings().each(function(){ 
782   				var linkTag=$(this).children().children(); 
783   				var link=$('.mtm_list_item_heading', linkTag).attr('href'); 
784   				$('.mtm_list_item_heading[href]	',linkTag).attr("href", link);	 
785   		 }); 
786   		//let afterdnoneText=$('div.d-none[data-active]').text(); 
787   	}; 
788    
789   //hiding the pagination bar 
790   	function hidePaginationBar(){ 
791   		$(".pagination-bar").hide(); 
792			$(".pagination-bar").html(""); 
793   	}; 
794    
795    
796   	//when list is available then removing this class 
797   		$("#apply-button").removeClass("disabled"); 
798    
799   //Please dont change these method 
800   		changeActiveBreadcrumb(); 
801   		hidePaginationBar(); 
802   $( ".pagination-bar" ).load(function() { 
803    // Handler for .load() called. 
804   $(".pagination-bar").hide(); 
805   }); 
806    
807</script> 
808 
809	 
810					  
811	 
812 
813 
814 
815</#if> 
816</#if> 
817	<style> 
818   form#fm { 
819   display: none; 
820
821</style> 

Asset Publisher

Note :

Handbook on RBI’s WSS

Upload
Download Upload
WSS_ID
22
LANGUAGE_CODE
INDEX_TITLE
Handbook on RBI’s WSS
DOCUMENT_TITLE
SUBJECT
DOCUMENT_DETAIL
CONTENT_PUBLISH_DATE
ACTUAL_DATE
INDEX_HEADER
INDEX_LINK
TYPE_ID
0
DOCUMENT_OWNER
DESIGNATION_NAME
IS_ACTIVE
0
KEYWORD_NAME
CREATED_ON
CREATED_BY
LAST_MODIFIED_ON
LAST_MODIFIED_BY
TIME_STAMP
HINDI_WSS_ID
0

RBI-Install-RBI-Content-Global

Install the RBI mobile application and get quick access to the latest news!

Scan Your QR code to Install our app

RBIPageLastUpdatedOn

Page Last Updated on: January 10, 2025