How can I insert Foreign Key(FK) in starUML ER diagram? - foreign-keys

I'm working on a ER diagram in starUML but can't find a Foriegn Key option in it. I've looked through various setting in the application but couldn't find it. Is they a way to insert? Also, I've seen images using FK in starUML but couldn't find out how. Can someone help me out?

Select a column in the table and look at the properties on the right side of the editor.

Related

How do you make a report template for a single Enterprise Architect diagram?

I have a package with about 25 diagrams in it. I have used EA templates to make a package report that gives the name and notes for each diagram. However I want make a more specific report that can generates the report for just one diagram containing the description from each element in the diagram. Is this possible? It does not seem like diagrams have anywhere I can generate reports from.
UPDATE: I am currently trying to figure out how to do this with Document Options>Except where Query excludes Package:>Custom SQL but cannot get it. Here is my SQL statement:
SELECT t_diagram.ea_guid & t_diagram.Name AS [DesiredService-Hyperlink]
FROM t_diagram
WHERE t_diagram.Name = 'Diagram_Name'
I tried putting this in the Report's Custom SQL, that didn't work. Then I tried putting it in a fragment's Custom SQL with the following in the template itself
custom >
{DesiredService-Hyperlink}
< custom
This also did not work. I have been trying to go off of various documentation and YouTube Videos. If anyone could point me in the right direction that would be great.
Enterprise Architect document generation is based more on the model structure then on the diagrams.
The easiest approach would be to put each diagram in a different package or nested under a specific element, even if only temporary to generate the document.

How read collections of mongodb on django environment

I have this 2 collection on mongoDB
airports
routes
I was searching how do that, I found djongo. After reading I understood the following.
I must make models that matching those data, then only use queries.
There are models only with few fields. Then I could use this methods e.g.
Airports.objects.filter(name_airports__startswith='Goro')
am I right?
If anyone can guide me to right way , I'll be very grateful. If you have
an example on the web, please share that with us, thanks in advance.

Dymanic PickList Applet is empty Siebel

Can you help me, please?
I've created a dynamic PickList and Pick Applet, but when it's displayed there is no records. I've created all joins (I join with S_CONTACT on ROW_ID to take Last and First names), pick map an specified my PickList to the field. I think i missed link between PickList and Pick Applet, but i'm not sure and i don't know how to solve it.
If you are new to Siebel, may I point out that Siebel tools has some wizards which can make things easier. To add a dynamic picklist on a field, right click on the field in Siebel tools, and choose 'Add Picklist'. Then follow the onscreen instructions, which will also help configure a pick applet. Try re-creating the dynamic picklist using this wizard.
If you do not want to try this, you will have to spool the sql logs to get sql which could point to the issue. It could be a searhspec issue on the picklist/picklist bus comp/pick applet. It could even be a buscomp visibility issue (salesrep, org). Also check the pop-up visibility for the buscomps, and see if there are any other constrains on the pickmap.
The mistake was in defining Business Component: i was looking throught the same on for field and picklist.

Django. How to customize the raw_id_field to add many related object in one go?

Actually, the raw_id_field option gives you a magnifying glass button next to the field which allows users to search for and select a value. You are obliged to select only one value at time. There is no way to select more than one values before adding.
Is there any way to get the link generated by the raw_id_field option, pull out a full-featured edit/select window? A window in which you can select more than one object that will be added to the raw_id_field?
Thanks a lot for advices and suggestions.
The short answer is no. For more details, just read this ticket

Weka predictive value of attributes

I've got a question about finding the predictive value of certain attributes.
In my question it is suggested that I transform my attributes to binary classes and then apply "decision stump" to find out the predictive value of each attribute. How do I do this?
I checked out this question But that's not really what I mean.
Thanks in advance, Rope.
You can find the most predictive attributes using the methods found under the Select Attributes tab in Weka's Explorer.
Yeah, the Select Attributes tab in Weka analyzes your attributes and ranks which ones provide the most information gain. Under Attribute Evaluator, choose InfoGainAttributeEval and choose Ranker for search method. It works quite well in my experience.