Category Uncategorized

Multiple git accounts setup

Multiple git accounts setup

As a developer, you must come across this issue, If you try to check out multiple repositories from different git accounts by default git tries to check out from first account it won’t find the second repository in the first…

Import and export wcm-data library

Export: ConfigEngine.bat export-wcm-data -Dexport.directory=”C:UsersAdministratorDesktopMYWCMBackup_13_06_2016″ -Dexport.libraryname=”My Content;My Design” -DWasPassword=passw0rd_123 -DPortalAdminPwd=passw0rd_123 -Dexport.singledirectory=true -DVirtualPortalContext=vpname Import: ConfigEngine.bat import-wcm-data -DWasPassword=passw0rd_123 -DPortalAdminPwd=passw0rd_123 -Dimport.directory=”C:UsersAdministratorDesktopMYWCMExport” -Dimport.singledirectory=true -DVirtualPortalContext=vpname Here are the some of the book recommendations :               Enable GingerCannot connect to Ginger Check your internet connection…

Install new Theme Static files to WebDev using config Engine Task

Theme Initial upload to WebDev using ConfigEngine: ConfigEngine.bat webdav-deploy-zip-file -user=wpsadmin -password=passw0rd_123 -DTargetURI=dav:themelist/MyIntranetTheme/ -DZipFilePath=Z:My driveProjectsThemeMyIntranetTheme.zip Update Theme in WebDev using ConfigEngine: ConfigEngine.bat webdav-deploy-zip-file  -DWasPassword=passw0rd_123  -DPortalAdminPwd=passw0rd_123 -DTargetURI=dav:fs-type1/themes/MyIntranetTheme/ -DZipFilePath=C:UsersAdministratorDesktopMyIntranetTheme.zip Here are the some of the book recommendations :               Enable GingerCannot…

Web Content Manager(WCM)-Custom Rendering Plugin

Custom Rendering Plugin: packagecom.ibm.wcmproject; importjava.io.IOException; import java.io.Writer; import java.util.List; importjava.util.Locale; import java.util.Map; importcom.ibm.portal.ListModel; importcom.ibm.workplace.wcm.api.plugin.rendering.RenderingPlugin; importcom.ibm.workplace.wcm.api.plugin.rendering.RenderingPluginException; importcom.ibm.workplace.wcm.api.plugin.rendering.RenderingPluginModel; public classWCMYouTubePlugin implements RenderingPlugin{       private String PLUGIN_NAME = “video”;       @Override       public booleanisShownInAuthoringUI() {             // TODOAuto-generated method stub             return true;…

Simple pagination jQuery plugin

<html> <head>   <link rel=”stylesheet” href=”simplePagination.css” type=”text/css” />   <script src=”tests/lib/jquery.min.js” language=”javascript” ></script>   <script src=”jquery.simplePagination.js” language=”javascript” ></script> </head> <body><div id=”abc”> <p class=”selection” id=”page-1″>one</p><p class=”selection” id=”page-2″>Two</p><p class=”selection” id=”page-3″>Three</p><p class=”selection” id=”page-4″>Four</p><p class=”selection” id=”page-5″>Five</p><p class=”selection” id=”page-6″>Six</p><p class=”selection” id=”page-7″>Seven</p><p class=”selection” id=”page-8″>Eight</p></div> <script language=”javascript”>     $(function() {        $(‘#abc’).pagination({            items: 20,            itemsOnPage: 3,           …

Error EJPAH5000E: Failed to initialize virtual portal

 Error EJPAH5000E: Failed to initialize virtual portal hr. com.ibm.portal.WpsException: EJPAH5000E: Failed to initialize virtual portal hr.     at com.ibm.wps.portlets.managevirtualportals.actions.DoInitializeVirtualPortalAction.initializeVirtualPortal(DoInitializeVirtualPortalAction.java:207)     at com.ibm.wps.portlets.managevirtualportals.actions.DoInitializeVirtualPortalAction.doExecute(DoInitializeVirtualPortalAction.java:92)     at com.ibm.wps.portlets.adminstruts.actions.BaseAction.execute(BaseAction.java:64)     at com.ibm.wps.portlets.struts.WpsRequestProcessor.processActionPerform(WpsRequestProcessor.java:338)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at com.ibm.wps.portlets.struts.WpsStrutsPortlet.processActionPerformed(WpsStrutsPortlet.java:1970)     at com.ibm.wps.portlets.struts.WpsStrutsPortlet.actionPerformed(WpsStrutsPortlet.java:1660)     at com.ibm.wps.portlets.adminstruts.WpsAdminStrutsPortlet.actionPerformed(WpsAdminStrutsPortlet.java:261)…

dGrid Example

Before doing this example you should have this files                 dgrid you will get from this                  its dependencies                         xstyle: xstyle                         put-selector: put-selector             place  all in this structure                         dojoàdojo                                    dijit                                     dgrid                                    …

How to Export Entire Portal Configurations Using XMLAccess

 How to Export Entire Portal Configurations Using XMLAccess 1.       Open CMD 2.       Go to <IBM>WebSpherePortalServerbin 3.       Run this command xmlaccess.bat -user wpsadmin -password passw0rd_123 –url http://localhost:10039/wps/config  -in “C:IBMWebSpherePortalServerdocxml-samplesExport.xml” -out result.xml 4.       Out will be result.xml in bin folder contains all…

Web Services for Remote Portlet (WSRP)

The WSRP is a specification.it is used to define a portlet’s operations to remote containers. JSR 286 portlets and WSRP may be used together to define a portlet and to provide remote operations. Similarly, .NET portlets may be created for…

Enable Notifications OK No thanks