I am not sure how to run insert table record from dump.sql to hippo cms, So I find following solution
I create java class which will add node or property for testing purpose. I have to do step by step.Currently If I override hst-config.properties with adding default.repository.user=sitewriter, I can add node or property by usingcurrentNode = session.getRootNode().getNode(path);currentNode.addNode("test","hst:component");I want to do same thing, when user login as sitewriter via form or basic authentication, and it should create session based on user login not by properties file.Please let me know if you need any information.
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
On Tue, Jun 26, 2018 at 2:54 PM, rdjava30 <rdja...@gmail.com> wrote:I am not sure how to run insert table record from dump.sql to hippo cms, So I find following solutionWhat does the data in dump.sql look like? Is it your domain specific custom tables from somewhere?Or are you talking about a dump from another Hippo/Jackrabbit database and do you want to import that in another environment?Woonsan
I create java class which will add node or property for testing purpose. I have to do step by step.Currently If I override hst-config.properties with adding default.repository.user=sitewriter, I can add node or property by usingcurrentNode = session.getRootNode().getNode(path);currentNode.addNode("test","hst:component");I want to do same thing, when user login as sitewriter via form or basic authentication, and it should create session based on user login not by properties file.Please let me know if you need any information.
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.