We can declare a two dimensional array and directly store elements at the time of its declaration as shown below: int numbers[][]={{23,45,57,24,74},{34,67,23,55,23},{34,74,24,46,78},{23, 56,87, 89,96}, {95, 03, 45, 99,56}}; Here int represents integer type elements stored into array and array name is ‘numbers’. ‘int’ is the datatype for all elements represented inside “{” and “}” braces because an array is a […]
Workbench saved rules not applying to dgraphs
When rules are saved, default behavior of Workbench is to apply update to all dgraphs. All defined dgraph HOST’s EAC Agents are instructed to perform an emgr_update command to request the MDEX configuration files from defined Workbench HOST. Webstudio HOST is configured in webstudio.properties file in the “$ENDECA_CONF/conf” in Linux or “%ENDECA_CONF%\conf” in Windows directory. “com.endeca.webstudio.hostname” variable specifies HOST for Workbench. This […]
HWDI [How We Do It] Custom Sorting
Let’s implement another business requirement in our series HWDI [How We Do It]. Below is the conversation between business analyst [Steve] and developer [Lisa] team to implement custom sortingOptions using Oracle Endeca Experience Manager. Steve: Good Morning Dev Team, we have a new requirement to give more control over sort options. Here are the requirements: As a merchandizing user I […]
Transferring thesaurus between environments
There are two ways for transferring thesaurus between environments. 1) Export the site data from one environment and import it to other. 2) Using IFCR command. From your /<yourendecapath>/<application> /control directory, execute: runcommand.bat IFCR exportNode ..\config\temp\thesaurus thesaurus All thesaurus entry files will be created in the specified directory. If the directory does not exist in your filesystem, the EAC creates […]
Common response codes for MDEX Engine
The following are the most common response codes for MDEX Engine: 200: OK. The MDEX Engine successfully processed the query. 404: Not Found. The query sent to the MDEX Engine was in an incomprehensible format (e.g. “/favicon.ico”), or the query specified a navigation descriptor that does not exist. The most common causes of 404s are browser bookmarks/favorites that are no […]
JBOSS Failed to parse XML descriptor error
Problem: Getting error “Failed to parse XML descriptor” when trying to deploy “discover”application war on JBOSS server. C:\jboss\jboss-eap-6.4\bin>standalone.bat | C:\MVN\ATGLogColorizer_v1_2.exe ATGLogColorizer v1.2. Copyleft 2007-2008 by Kelly Goetsch. http://atglogcolorizer.sourceforge.net Calling “C:\jboss\jboss-eap-6.4\bin\standalone.conf.bat” Setting JAVA property to “C:\Program Files\Java\jdk1.8.0_73\bin\java” =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: “C:\jboss\jboss-eap-6.4” JAVA: “C:\Program Files\Java\jdk1.8.0_73\bin\java” JAVA_OPTS: “-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms1G -Xmx1G -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Djboss.modules.policy-permissions=true […]
Tomcat default administrator password
Tomcat users are defined in XML file “$TOMCAT_HOME/conf/tomcat-users.xml”. There are NO users defined by default, therefore no one can access Tomcat manager page. <tomcat-users> <!– <role rolename=”tomcat”/> <role rolename=”role1″/> <user username=”tomcat” password=”tomcat” roles=”tomcat”/> <user username=”both” password=”tomcat” roles=”tomcat,role1″/> <user username=”role1″ password=”tomcat” roles=”role1″/> –> </tomcat-users> Add below role and user to make it work.
Sort dimension descending using config
Problem: An alpha-numeric property in Endeca, need to be configured to sort in descending, can we do this using developer studio? For example, we have “Year” dimension and it showing in below format and we want to to set it in descending order from 2016 -1950 Year 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 […]
Reporting Scripts not visible in EAC Admin Console
Problem: When you login to EAC Admin Console in Endeca Experience Manager and find that Reporting scripts are missing as shown in below screenshot. Fix: The issue is with missing “provisioned-script-command” in “ReportGeneration.xml”. If we see missing “provisioned-script-command” for any components as shown below. It will not be displayed in Script tab for Endeca Experience Manager.
Endeca bridge API unable to retrieve aggregated records
If you have implemented record rollup on Endeca back-end and it is working correctly looking into Endeca JSP reference app. The documentation says passing Nu param and Np param will return aggregated records.But you are not getting correct results from Endeca bridge API.