How to disable auto-populate in strapiV4? - node.js

I've recently migrate on strapiV4. But, strapi can be very slow on administration panel when I've lot of data in my database. Why ?
I think strapi auto populate all relational fields, and relational fields of first relational fields..
For example, I've a user collection. Each user have a family and family have members, so when I ask to strapi on admin panel to retrieve user, strapi get all informations about asked user, but also all informations of relational family and also all relational fields of family.
So this behavior cause bad performance where application is deploy in production because I've lot of data and relational fields attached to some collections and administration panel become very slow..
I've try to find a solution on strapi documentation but I didn't found anything for v4. On v3, autopopulate: false can be an option to disable this behavior seems to me...
How can I fix this please ? Thank's

Related

Sharepoint 2010 Global Navigation Data location in database

I am looking for a way to add or remove Global Navigation items from my sql server database.
I want to know where the data for global navigation is stored in sharepoint 2010 database schema.
I have seen some people (http://sharepointbabe.com/tag/navigation/) used NavNodes table but I can't find this table in my database.
Editing the database directly is really a no-go. Use the API's to manage your environment:
Check this: https://discoveringsharepoint.wordpress.com/2013/03/19/programmatically-set-navigation-settings-in-sharepoint-2013/
It seems that I was looking at a wrong database. That table NavNodes must always exist in Sharepoint website content database. So the database I was looking at was another one which was made to hold membership information and other related information of the website.

Convert Customer Relationships to Connection in CRM 2013

Can you please point me to a good guide on how to migrate Customer Relationship roles to Connections? I am using CRM 2013 on-premise.
I am going to try exporting the Roles and Importing them as Connections but this is giving me look up errors. In my opinion this is a simplistic approach and I might be wrong in the first place using this approach.
So has anyone tried this approach before and does it work? And is there an another way of doing this?
Here is a blog about doing it using Scribe:
http://blog.customereffective.com/blog/2011/10/crm-2011-converting-relationships-to-connections.html
Here is a blog about doing it using the built in import/export functionality:
http://www.powerobjects.com/blog/2013/04/25/replace-relationship-roles-with-connections-in-dynamics-crm/
If I needed to migrate a large volume of relationships I would build the connection table based off the old relationship roles table using direct SQL injection. Of course this is unsupported.

Problems with integrating DB with MVC 5

i am building a ticketing system which customers can add new tickets to the system and employees can help them with there requests. I built the data base with an ADO file and my question is, is it possible to use the identity user and all of the database that comes with the mvc5 web application yet add additional tables with connections. i have been trying to do this for a while with no success.
!(http://postimg.org/image/v49eh3gql/) this is my database and i would like to extend application user and use my other attributes as well as my other tables and the roles table that comes with mvc all in one database.
any help would be appreciated
cheers :)
You could use the same database but I think its better to keep them apart. Add the properties for your user entity to IdentityModels.Cs and to the AccountViewModels.cs where appropriate. Since the views for these viewmodels are already created you have to add the attributes to the view yourself. Then in the package manager console Enable-Migrations Copy and paste the command that has the applicationDbConted in it. Add-Migration -Init then run Update-Database
Here is a post about how to access the logged in user.
is it possible to use the identity user and all of the database that comes with the mvc5 web application yet add additional tables with connections.
In other words, can you have an application with database first and model first?
Yes, but you have to be careful that you don't migrate the database first dbcontext.

Drupal, a custom searchable user profile should be based on Node or Custom db?

I have to work on a Drupal project to create user profile for some specific users on the website with some special fields. They can be a different role. Main idea is to search. User profile must be searchable with provided criteria.
I have two options,
1- Using node with (content_profile)
2. Create my own form and tables.
One my question is, is it possible to create a separate search machanism for custom created database? and is there a way to cache search result? or should I use node based? please advice some one with idea on this..
Thanks.
Yes it is possible to create a search mechanism using views and exposing the custom table to views via the api (there is a blog post here: http://blog.menhir.be/2008/10/22/expose-database-fields-to-views-in-a-custom-drupal-module/ and there is more info using the advanced help module (http://drupal.org/project/advanced_help) (install and look through the views documetation), then you could also use the Views caching.
A custom table and fields would be my preferred method if you have a lot of users as the profile tables can get pretty big (this may not be an issue for you), or you could use the content profile module http://drupal.org/project/content_profile and possibly save yourself some work!
If you wanted to perform a complete custom search not using views you'd probably need to implement that and the caching yourself if you went the custom field/table route, but you'd gain a lot of flexibility.

How can I programmatically determine the creator of a Domino database?

I'm using the built-in Domain Catalog database to list all the databases on a particular Domino server. I'm creating a custom view to show certain information about each database. What I'd like to have is a column that displays the creator of each database. However, if the Domain Catalog is keeping track of this information, I can't find it.
Is there a field in the Domain Catalog that provides this information that I just haven't been able to find? Is there some other way I might find this information and get it into this view? #DBlookup and related functions don't work in column formulas.
That information is not stored in the catalog, and is probably not stored in the database either (It's not shown on any of the property tabs).
You would probably need to get/write a server add-in to monitor database creation and store that data somewhere. Then you'd need to account for databases created by adminp/replication - your add-in might pick them up as having been created by a server.
This question was also asked in the R4/R5 forums in 1998 and received no answer.
Interesting question. There is no such attribute for database, but you can dig for some clues.
New databases: use NotesNoteCollection and look for some specific design element (icon, for example) and look for first element in $UpdatedBy field.
New copies/from templates: above mentioned method won't work. It will return info from original/template, not current database. In this case, try using Created property of DB and check user footprints after that date - in ACL log (he probably altered ACL immediately after copy), new design elements (probably made new view, folder, agent...) or profile documents.
What Frantisek said. Looking in the log archive (ugh!) may tell you who deployed it, but in a well run environment that won't be who developed it. A list of $UpdatedBy(0) for all design notes should give you a good idea. The catch will be that it mayl be people who left the company years ago. : )

Resources