how to create a domain for CustomUserStoreManager? - wso2

I have created a CustomUserStoreManager and deployed as per the doc https://is.docs.wso2.com/en/next/setup/writing-a-custom-user-store-manager/
I am not able to see any errors nor the CustomeUserStoreManager in
the DropDown as said in the doc.
I need to map the CustomerStoreManager to a user store properties like a table, query, DB properties for each customeruserstore, how to do that? where to do the config for the same.
I am using WSO2 IS 5.9

Related

What is my App Maker database key/name for published apps

Context
The Database Key for the preview version of an App Maker app can be found in SETTINGS>DATABASE as the Database Key. In GCP, App Maker uses a SQL instance, and within that instance many Databases are listed - including the Database Key/Name from the App Maker preview.
By default, when publishing an App Maker app, a new Database within the MySQL instance is created.
Question
How do I find the Database Key/Name that the newly published app is using?
You need to go to the deployments settings and click on the EDIT option. Then you should be able to retrieve the database key. Here, for your reference:
This is documented right here: https://developers.google.com/appmaker/deployment/#databases

WSO2 EMM - Manage data to wrapping them in multi page

I have added new report to EMM, but as the report data recorde are too much, I would like to wrap them in multiple pages like configuration tab (users, roles and policies), How can I fix this or how it works for those tabs?
Thanks
WSO2 EMM is built on top of bootstrap 2. You can add Bootstrap tabs as mention in following doc and have multiple tabs on your page
http://getbootstrap.com/2.3.2/javascript.html#tabs
Edit:
WSO2 EMM 1.1.0 is built on top of a Jaggery MVC framework.
Create a report by adding a function to emm/controller/reports.js. This is a controller and you can use modules to retrieve data to the controller. see devices_complience function for example in the following file
https://github.com/wso2/product-emm/blob/master/modules/apps/emm/controller/reports.js
Add the corresponding view file to emm/views/reports
Eg: https://github.com/wso2/product-emm/blob/master/modules/apps/emm/views/reports/devices_complience.hbs
Add a link to your report in the emm/views/reports/index.hbs file
If you need to have additional java-script functions you can add them to emm/client/js/reports/reports.js file
I should edit "Carbone_Home\repository\deployment\server\jaggeryapps\emm\client\js\reports.js" file to managing record on table.
"sDom":"t"
to
"sDom":"<'row-fluid't<'row-fluid'<'span6'i><'span6'p>>"
and for setting number of record per page I should set this :
"iDisplayLength": 10,
which uses emm\assets\jqueryext\datatables\jquery.datatables.

Bulk Creation Of Items In Sitecore

I am using Sitecore 8, Update 3.
I am attempting to bulk create a couple thousand items that use a custom template. All of these items are created under one specific parent item.
The custom template has two fields which are Path [Single-Line Text] and Target [General Link].
The source of the data is in an old SQL database.
Is there a way to do this?
The Sitecore marketplace module Data Importer is a option for you.
Create a custom importer with the sitecore api is also possible, to speed up, you can disable the index rebuild.
Since your data is already in SQL Serve, you should take a look at using the SSIS Components for Sitecore, it was designed for importing exactly this kind of data in bulk into Sitecore using ETL.
You can find more info in the blog post Creating your first project with SSIS Components for Sitecore and there is also some good additional into in the Migrating to Sitecore: Going from WordPress to Sitecore with SQL Server Integration Services (SSIS) post.
The Integration Services Components for Sitecore is available on the Sitecore Marketplace, and it is compatible with Sitecore XP8.
I'll also add, if you are creating anything more than 100 items below a single parent item then this is not recommended Sitecore practice unless the items sit within an Item Bucket. Make sure you account for this, or split your items up into smaller sub-folders (e.g. year/month folders for news article type items)
In these scenarios you normally end up writing code to call the api and create the items programmatically rather than doing a generic import.
If you need to create a large amount of items I would recommend writing a console app to do this. You could use the Sitecore Item Web api to create items outside of the Sitecore context or investigate the new Entity Service api in Sitecore, both will be capable of creating large amounts of Sitecore items.
http://mikerobbins.co.uk/2015/01/06/entityservice-sitecore-service-client/
https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf
If these don't float your boat you could always write async code to create the Sitecore items and have that executed by an aspx page in a Sitecore instance - works well for one off tasks.
Example of Asynchronous page processing in ASP.net webforms (.NET 2.0)

StrongLoop Arc Composer Doesn't Discover Models From Different Schema Than DBO

I have a relational database on MSSQL, I've created this one on a different schema (titan) than DBO. When I try to retrieve the models from my database, the composer of strongloop arc only shows those tables that are currently saved on DBO schema but not my tables saved in my custom schema.
Any help might be useful. Thanks in advance.
For relational database discovery, LoopBack API allows you to supply schema and table. But the schema is not exposed by StrongLoop Arc. As a result, only default schema names are used by Arc. Please note dbo is the default schema name for mssql.
I suggest you open a feature request on github for StrongLoop Arc.

Determine Database Type from ColdFusion Data Source

I have web site with source code in ColdFusion. How can I find out which database is used and where is database files?
Thank you!
Also, I haven't access to CF Admin.
Assuming you are using CF8 or later:
If you have the datasource (which you can see in the CFQUERY/CFSTOREDPROC) you can use cfdbinfo to get database information.
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_d-e_01.html for details.
Search through the entire codebase for instances of the tag <CFQUERY> (and additionally <CFSTOREDPROC>).
Look at the value entered into the attribute "datasource", collect them all up.
If you have access to CF Admin:
Log into the ColdFusion Administrator, navigate to Datasources, and match the datasource names with the ones you found in your search.
Examine the DSN settings. They are your databases.
If you do not have access to CF Admin:
Pass the names of the datasources to <CFDBINFO> and dump out the results (thnx to TheCycoONE)
Shawn hit it: you'll have to get into the ColdFusion Administrator's Datasource settings. Find the name of the datasource in your Application.cfm/cfc/direct in the query, then in click that DSN in the administrator. It should tell you which db (type) connector it's using, and the general location.