Quantcast
Channel: aras PLM community
Viewing all 1103 articles
Browse latest View live

limit relationship target by lifecycle state

$
0
0

Hi,

  I have a new itemtype that has a relationship back to the parts table.  What I would like to do is limit relationships only to parts that have been promoted to a released state.  is this possible to configure?

Thanks,

--Tyler


Deleting item on relation of A Item Type When Delete Item on B Item

$
0
0

Hi Community,

I have create Item type, on that Item Type Relation I have create a Server Method (onafteradd) when I Added Item on A relation It will add item B on another Item Type relation. done It,

When I delete Related Item on Same Item Type Item Will affect on another item type relation.

but I am not getting any Idea for delete that Item on another Item relation.

How can i Achieve this,

thank you,

RAKESH

How to iterate over all visible item properties?

$
0
0

How can I iterate over all item properties that have hidden and hidden2 set to false in a server-side C# method to retrieve the properties names? I am using Aras Innovator 11.0 Build Build 6073.

Is that possible in Aras to send activity hours to project from other Item Type

$
0
0

Dear Friends

I make an item type cost sheet and one activity like design and i put 200 hours. So i want to send this value to particular project activity named "Design".

So what can i do for above query......

Please share your solutions .

Thanks in advance

Abhishek Srivastava

How to lock,unlock,close,open document using javascript or c#

$
0
0

Hello.......I am beginner in Aras and i want to know

How to Lock ,Unlock, Close Document using javascript or if any server side language like c#.....................???

please give me Reply .....................!!!

No login screen post install - XML Error

$
0
0

Hi all

I've installed ARAS on a standalone PC (all components) to test the functionality of the product.. Unfortunately, I'm not able to get to the login screen post install. When running the ARAS short cut  Firefox opens with the below errors in the window:

Resource with key="'login.login_btn_label'" is not found in "http://localhost/InnovatorServer/Client/X-salt=std_11.0.0.6296-X/xml/ui_resources.xml".

Resource with key="'login.cancel_btn_label'" is not found in "http://localhost/InnovatorServer/Client/X-salt=std_11.0.0.6296-X/xml/ui_resources.xml".

Resource with key="'login.default_link_html'" is not found in "http://localhost/InnovatorServer/Client/X-salt=std_11.0.0.6296-X/xml/ui_resources.xml".

Resource with key="'login.bookmark_this_page_txt'" is not found in "http://localhost/InnovatorServer/Client/X-salt=std_11.0.0.6296-X/xml/ui_resources.xml".

Resource with key="'login.version_html'" is not found in "http://localhost/InnovatorServer/Client/X-salt=std_11.0.0.6296-X/xml/ui_resources.xml". 11.0 SP5; Resource with key="'login.build_html'" is not found in "http://localhost/InnovatorServer/Client/X-salt=std_11.0.0.6296-X/xml/ui_resources.xml". 6296 

 

I've reinstalled many times following the installation guide each time but get the same results after the install completes.

The host is running Windows 7 Professional 64 bit.

Has anyone seen anything like this before?

Any help would be appreciated.

Thanks

Rhys

Filter List Query : Hidden on grid but show in a form field

$
0
0

Hi friends,

I make an Item Type "Test" and create 3 Property named "Vendor_Category" , "Vendor Name" , Vendor Status".

List create for Vendor Category : Steel, Plastic

Filter List Create for Vendor Name:

Values      Filter List

A                 Steel

B                 Plastic

C                 Steel

Filter List for Vendor Status:

Values       Filter List

Ok                A

Not Ok        B

Not Ok                 C

So when i select Steel then In a Vendor name field i get a value " A" and "C". So when i select A then Vendor Status Automatic comes Ok and When I Select C Then vendor Status Comes Not OK in a form . But when i want to see in a grid by clicking on Item in TOC then Vendor Status is blank but when i double click then show in a form .

 

Kindly help me on this.

 

Thanks in advance

Abhishek Srivastava

 

How to implement a two-related dropdown list?

$
0
0

for example,

first dropdown list contains Europe, Asia and America, second dropdown list contains all countries in the world. I would like to select first dropdown list and then the second dropdown list is filtered. how can I implement this function?

thanks.

 

PS, I am new to aras, any hints or documents are appreciated.  


Query Where Used within Item Type Relationship

$
0
0

Our MCO process requires that we show all the affected items based on the parts that are affected. I'm wondering if the query I have below is possible? I would like to use this as a reverse grid look up within a tab. With the testing I have done so far I can't get it to work the way I want it to. Is there a different way I go about doing this? The main thing is I need to be able to export this as a report. Thank you for your help its greatly appreciated. 

 

 <Item type="Simple MCO" action="get" id="{@id}">

        <Relationships>

             <Item action="get" type="Simple MCO Part">

                     <related_id>

                            <Item type="Part" action="getItemWhereUsed"></Item>

                    </related_id>

              </Item>

           </Relationships>

</Item>

How to use js method in c# code using inn.applyMethod() , it is possible? or c# code to save Item type Programmatically

$
0
0

hiii

I am new to aras innovator . i written following code but method in inn.applyMethod() is js and it gives error that it is not currently supported


Innovator inn = this.getInnovator();
{
string sFormulaId = this.getProperty("id");
Item iDisp = inn.newItem("Symbi_Dispensing BMR","get");
iDisp.setProperty("id",sFormulaId);
Item result = iDisp.apply();
//return inn.newError(result.ToString());

/////////////////////////////GET DISPENSING TAB ITEM//////////////
Item iDispItem = this.newItem("Symbi_Dispensing_Item","get");
iDispItem.setProperty("source_id",iDisp.getProperty("id"));
iDispItem.getAttribute("select","related_id");
Item resDispItem = iDispItem.apply();
int countDispItem = resDispItem.getItemCount();
for(int i=0; i<countDispItem; i++)
{
    Item DispItemRel = resDispItem.getItemByIndex(i);
    Item rItem = DispItemRel.getRelatedItem();
//return inn.newError(DispItemRel.getProperty("symbi_net_uom"));

    /////////////////////////////GET THE ADDED ITEM ////////////////////
Item rFMItem = this.newItem(rItem.getType());
rFMItem.setID(rItem.getID());
Item resFMItem = rFMItem.apply("get");
    //return inn.newError(resFMItem.getProperty("symbi_qtybal_uom"));
string FMItemUOM = resFMItem.getProperty("symbi_qtybal_uom");
string FMItemid = resFMItem.getProperty("id");
string dispQtyUOM = DispItemRel.getProperty("symbi_net_uom");
//return inn.newError(DispItemRel.getProperty("symbi_net_uom"));
    if(dispQtyUOM==FMItemUOM)
        {
   
string sQtyBal = resFMItem.getProperty("symbi_qty_balance");
string sNetwt =  DispItemRel.getProperty("symbi_net_wt");
if(int.Parse(sNetwt) ==0)
{
    return inn.newError("Quantity is Zero");
}


    if(int.Parse(sNetwt) <= int.Parse(sQtyBal))
    {
   
////////////////////ADD BIN CARD BASED ON NUMBER OF ITEM PRESENT IN  DISPENSING ITEM TAB////////////////
Item iBinCard = this.newItem("Symbi_Bin Card");
iBinCard.setProperty("symbi_ar_no",DispItemRel.getProperty("symbi_ar_no"));
iBinCard.setProperty("symbi_quantity",DispItemRel.getProperty("symbi_net_wt"));
iBinCard.setProperty("symbi_action_type","Issues");
iBinCard.setProperty("symbi_uom",DispItemRel.getProperty("symbi_net_uom"));
iBinCard.setProperty("symbi_other",DispItemRel.getProperty("id"));
iBinCard.setProperty("symbi_batch_no",result.getProperty("symbi_batch_no"));
Item resBinCard = iBinCard.apply("add");



//////////////////////////RELATED THE BIN CARD WITH ADDED ITEM /////////////////
Item rItemBinCard = this.newItem("Symbi_Item_BinCard");
rItemBinCard.setProperty("source_id",rFMItem.getID());
rItemBinCard.setProperty("related_id",resBinCard.getProperty("id"));
Item resItemBinCard = rItemBinCard.apply("add");

Item results = inn.applyMethod("Symbi_Create_BPR", "");

//string content = "<table>";
//content += "" +
//string content = "<script type='text/javascript'>";
//          function myFunction()
//          {
//                    rFMItem = resFMItem.getItemByIndex(0);
//                    top.aras.saveItemEx(rFMItem.node,undefined,true);
//                    rFMItem.lockItem();          
//           }+
//content +="</script>";
//content = "</table>";


//rFMItem.lockItem();
//  rFMItem = resFMItem.getItemByIndex(0);
//  inn.saveItemEx(rFMItem.node,true);
//  rFMItem.lockItem();
}
else
{
    return inn.newError("Insufficient Quantity");
}
    }
    else
    {
        return inn.newError("UOM Should be same as Item Master's quantity balanced UOM");
    }

}

}

return this;

thanks in advance

How to use a filter list?

$
0
0

I am extremely new to aras. I just wanted to know how to use a filterlist. Does the values automatically filter?

 

thank you all in advance

Attaching existing vault file to current document

$
0
0

I have separate forms for each document class, on form populate i am calling a method which would attach a different file for each document class.

I am using this code:

inn = this.getInnovator();
qryItem1 = inn.newItem("Document", "get");  
qryItem1.setAttribute("where","[DOCUMENT].item_number like 'DOK00000149' "); //item_number is unique so might be only one result, no need to loop

qryItem1 = qryItem1.apply();
file = innovator.getItemById("File","D68843A4EA6744BB89FC11E6F3AA02BC"); //File item's id
file = file.apply();
file_name = file.getProperty("filename");
relItem1 = this.newItem("Document File","add");
qryItem1.addRelationship(relItem1); //add relationship
relItem1.setRelatedItem(file);  // related item
results = qryItem1.apply();
if (results.isError()) {
inn.newError(results.getErrorDetail());
}
return this;

i keep getting this error:

Event handler failed.

Event handler failed with message: Object doesn't support property or method 'getInnovator'

client side error

 

I know i am doing something wrong, just can't figure out what, any help very appreciated

File "InnovatorServerConfig.xml" empty after installation

$
0
0

Hi,

After installation of Innovator 11.0, the file "InnovatorServerConfig.xml" is empty after installation.

I follow all the procedure and install all required.

When i try to lauch the Aras Innovator by Shortcut i have an error in the navigator

 

ERROR WITH THE SERVER IN APPLICATION '/InnovatorServer/Client'

 

OS : W2k8 R2 Datacenter

IIS 7

Navigator : Mozilla Firefox 38.6 and IE 9

 

Thanks for your help and suggestions

 

 

Filtering on a Foreign property

$
0
0

I have multiple scenarios where this applies, bu this is the first I encountered.  I would like to limit my return result to only the list I am interested in.  In this case I don't want dept mangers, only dept categories (see bold and italics below).  My Javascript query is below.  It is quite sensible that I recieved both managers and categories since they are both filtered by the Department list I created.  I suspect there is something I could add in the way of AML or Javascript to limit the response to only categories (or vice versa if someday needed).  However, I don't know how to build the query for a property which then has keyed name inside, as below.

<source_id keyed_name="Idea_Department_Managers
" type="List
">E1523A32C3D44949B26BF44965C407EC
</source_id>

Any suggestions / ideas ?

 ----------

var qryDist = new Item("Idea_Asses_Distribution_P2","get");
qryDist.setProperty("idea_assess_distribution_p2_name","3rd Idea","eq");
dept = qryDist.apply();

var filtvalItem = new Item("Filter Value","get");
filtvalItem.setProperty("filter",dept.getProperty("idea_assess_distribution_p2_dept"),"eq");
result = filtvalItem.apply();
writeResults(result.dom.xml);

--------------------


-<Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-<Body>
-<Result>
-<Item type="Filter Value
" typeId="BCC8053D365143A18B033850EFE56F3C
" id="FE5E2C48E60E467188B06EFC399AD5E9
" page="1
" pagemax="1
" itemmax="10
">
<is_current>1
</is_current>
<generation>1
</generation>
<source_id keyed_name="Idea_Department_Managers
" type="List
">E1523A32C3D44949B26BF44965C407EC
</source_id>
<major_rev>A
</major_rev>
<label>Fredrica Finance
</label>
<created_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</created_by_id>
<config_id keyed_name="Fredica Finance
" type="Filter Value
">FE5E2C48E60E467188B06EFC399AD5E9
</config_id>
<sort_order>3
</sort_order>
<new_version>0
</new_version>
<permission_id keyed_name="List
" type="Permission
">1224D81E8DBD4B08B78404E769004EFF
</permission_id>
<modified_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</modified_by_id>
<modified_on>05/08/2007 04:09:13 PM
</modified_on>
<is_released>0
</is_released>
<created_on>05/08/2007 04:09:13 PM
</created_on>
<classification>/*
</classification>
<not_lockable>0
</not_lockable>
<id keyed_name="Fredica Finance
" type="Filter Value
">FE5E2C48E60E467188B06EFC399AD5E9
</id>
<filter>Finance
</filter>
<keyed_name>Fredica Finance
</keyed_name>
<behavior>float
</behavior>
<value>Fredica Finance
</value>
</Item>
-<Item type="Filter Value
" typeId="BCC8053D365143A18B033850EFE56F3C
" id="A8DF50EA8325446588B76FAB099541DA
" page="1
" pagemax="1
" itemmax="10
">
<is_current>1
</is_current>
<generation>1
</generation>
<source_id keyed_name="Idea_Department_Managers
" type="List
">E1523A32C3D44949B26BF44965C407EC
</source_id>

<major_rev>A
</major_rev>
<label>Freddie Finance
</label>
<created_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</created_by_id>
<config_id keyed_name="Freddie Finance
" type="Filter Value
">A8DF50EA8325446588B76FAB099541DA
</config_id>
<sort_order>4
</sort_order>
<new_version>0
</new_version>
<permission_id keyed_name="List
" type="Permission
">1224D81E8DBD4B08B78404E769004EFF
</permission_id>
<modified_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</modified_by_id>
<modified_on>05/08/2007 04:09:13 PM
</modified_on>
<is_released>0
</is_released>
<created_on>05/08/2007 04:09:13 PM
</created_on>
<classification>/*
</classification>
<not_lockable>0
</not_lockable>
<id keyed_name="Freddie Finance
" type="Filter Value
">A8DF50EA8325446588B76FAB099541DA
</id>
<filter>Finance
</filter>
<keyed_name>Freddie Finance
</keyed_name>
<behavior>float
</behavior>
<value>Freddie Finance
</value>
</Item>
-<Item type="Filter Value
" typeId="BCC8053D365143A18B033850EFE56F3C
" id="657D750C35F241FFAF6B841493EAB392
" page="1
" pagemax="1
" itemmax="10
">
<is_current>1
</is_current>
<generation>1
</generation>
<source_id keyed_name="Idea_Categories_P2
" type="List
">AABC5EA78F664E82A122BC65DE84DB7E
</source_id>

<major_rev>A
</major_rev>
<label>Budget Analysis
</label>
<created_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</created_by_id>
<config_id keyed_name="Budget Analysis
" type="Filter Value
">657D750C35F241FFAF6B841493EAB392
</config_id>
<sort_order>14
</sort_order>
<new_version>0
</new_version>
<permission_id keyed_name="List
" type="Permission
">1224D81E8DBD4B08B78404E769004EFF
</permission_id>
<modified_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</modified_by_id>
<modified_on>05/08/2007 04:43:54 PM
</modified_on>
<is_released>0
</is_released>
<created_on>05/08/2007 04:43:54 PM
</created_on>
<classification>/*
</classification>
<not_lockable>0
</not_lockable>
<id keyed_name="Budget Analysis
" type="Filter Value
">657D750C35F241FFAF6B841493EAB392
</id>
<filter>Finance
</filter>
<keyed_name>Budget Analysis
</keyed_name>
<behavior>float
</behavior>
<value>Budget Analysis
</value>
</Item>
-<Item type="Filter Value
" typeId="BCC8053D365143A18B033850EFE56F3C
" id="89932508F2064A30B5E29DF4B3DFE3D7
" page="1
" pagemax="1
" itemmax="10
">
<is_current>1
</is_current>
<generation>1
</generation>
<source_id keyed_name="Idea_Categories_P2
" type="List
">AABC5EA78F664E82A122BC65DE84DB7E
</source_id>
<major_rev>A
</major_rev>
<label>Purchase Order Rqmts
</label>
<created_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</created_by_id>
<config_id keyed_name="Purchase Order Rqmts
" type="Filter Value
">89932508F2064A30B5E29DF4B3DFE3D7
</config_id>
<sort_order>15
</sort_order>
<new_version>0
</new_version>
<permission_id keyed_name="List
" type="Permission
">1224D81E8DBD4B08B78404E769004EFF
</permission_id>
<modified_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</modified_by_id>
<modified_on>05/08/2007 04:43:54 PM
</modified_on>
<is_released>0
</is_released>
<created_on>05/08/2007 04:43:54 PM
</created_on>
<classification>/*
</classification>
<not_lockable>0
</not_lockable>
<id keyed_name="Purchase Order Rqmts
" type="Filter Value
">89932508F2064A30B5E29DF4B3DFE3D7
</id>
<filter>Finance
</filter>
<keyed_name>Purchase Order Rqmts
</keyed_name>
<behavior>float
</behavior>
<value>Purchase Order Rqmts
</value>
</Item>
-<Item type="Filter Value
" typeId="BCC8053D365143A18B033850EFE56F3C
" id="918B082BE38446278B916EF69136E75E
" page="1
" pagemax="1
" itemmax="10
">
<is_current>1
</is_current>
<generation>1
</generation>
<source_id keyed_name="Idea_Categories_P2
" type="List
">AABC5EA78F664E82A122BC65DE84DB7E
</source_id>
<major_rev>A
</major_rev>
<label>Funding Options
</label>
<created_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</created_by_id>
<config_id keyed_name="Funding Options
" type="Filter Value
">918B082BE38446278B916EF69136E75E
</config_id>
<sort_order>16
</sort_order>
<new_version>0
</new_version>
<permission_id keyed_name="List
" type="Permission
">1224D81E8DBD4B08B78404E769004EFF
</permission_id>
<modified_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</modified_by_id>
<modified_on>05/08/2007 04:43:54 PM
</modified_on>
<is_released>0
</is_released>
<created_on>05/08/2007 04:43:54 PM
</created_on>
<classification>/*
</classification>
<not_lockable>0
</not_lockable>
<id keyed_name="Funding Options
" type="Filter Value
">918B082BE38446278B916EF69136E75E
</id>
<filter>Finance
</filter>
<keyed_name>Funding Options
</keyed_name>
<behavior>float
</behavior>
<value>Funding Options
</value>
</Item>
-<Item type="Filter Value
" typeId="BCC8053D365143A18B033850EFE56F3C
" id="3F2EFBD64A014FE4B8F6ABC20DEA76E3
" page="1
" pagemax="1
" itemmax="10
">
<is_current>1
</is_current>
<generation>1
</generation>
<source_id keyed_name="Idea_Categories_P2
" type="List
">AABC5EA78F664E82A122BC65DE84DB7E
</source_id>
<major_rev>A
</major_rev>
<label>Revenue Collection Options
</label>
<created_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</created_by_id>
<config_id keyed_name="Revenue Collection Options
" type="Filter Value
">3F2EFBD64A014FE4B8F6ABC20DEA76E3
</config_id>
<sort_order>17
</sort_order>
<new_version>0
</new_version>
<permission_id keyed_name="List
" type="Permission
">1224D81E8DBD4B08B78404E769004EFF
</permission_id>
<modified_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</modified_by_id>
<modified_on>05/08/2007 04:43:54 PM
</modified_on>
<is_released>0
</is_released>
<created_on>05/08/2007 04:43:54 PM
</created_on>
<classification>/*
</classification>
<not_lockable>0
</not_lockable>
<id keyed_name="Revenue Collection Options
" type="Filter Value
">3F2EFBD64A014FE4B8F6ABC20DEA76E3
</id>
<filter>Finance
</filter>
<keyed_name>Revenue Collection Options
</keyed_name>
<behavior>float
</behavior>
<value>Revenue Collection Options
</value>
</Item>
-<Item type="Filter Value
" typeId="BCC8053D365143A18B033850EFE56F3C
" id="768B75D8C20649B6A46570B9498871E3
" page="1
" pagemax="1
" itemmax="10
">
<is_current>1
</is_current>
<generation>1
</generation>
<source_id keyed_name="Idea_Categories_P2
" type="List
">AABC5EA78F664E82A122BC65DE84DB7E
</source_id>
<major_rev>A
</major_rev>
<label>Revenue Scheduling
</label>
<created_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</created_by_id>
<config_id keyed_name="Revenue Scheduling
" type="Filter Value
">768B75D8C20649B6A46570B9498871E3
</config_id>
<sort_order>18
</sort_order>
<new_version>0
</new_version>
<permission_id keyed_name="List
" type="Permission
">1224D81E8DBD4B08B78404E769004EFF
</permission_id>
<modified_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</modified_by_id>
<modified_on>05/08/2007 04:43:54 PM
</modified_on>
<is_released>0
</is_released>
<created_on>05/08/2007 04:43:54 PM
</created_on>
<classification>/*
</classification>
<not_lockable>0
</not_lockable>
<id keyed_name="Revenue Scheduling
" type="Filter Value
">768B75D8C20649B6A46570B9498871E3
</id>
<filter>Finance
</filter>
<keyed_name>Revenue Scheduling
</keyed_name>
<behavior>float
</behavior>
<value>Revenue Scheduling
</value>
</Item>
-<Item type="Filter Value
" typeId="BCC8053D365143A18B033850EFE56F3C
" id="9D2BC1FDC0AB46A8B4021733429B467A
" page="1
" pagemax="1
" itemmax="10
">
<is_current>1
</is_current>
<generation>1
</generation>
<source_id keyed_name="Idea_Categories_P2
" type="List
">AABC5EA78F664E82A122BC65DE84DB7E
</source_id>
<major_rev>A
</major_rev>
<label>Finance Overall Rating
</label>
<created_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</created_by_id>
<config_id keyed_name="Finance Overall Rating
" type="Filter Value
">9D2BC1FDC0AB46A8B4021733429B467A
</config_id>
<sort_order>19
</sort_order>
<new_version>0
</new_version>
<permission_id keyed_name="List
" type="Permission
">1224D81E8DBD4B08B78404E769004EFF
</permission_id>
<modified_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</modified_by_id>
<modified_on>05/08/2007 04:43:54 PM
</modified_on>
<is_released>0
</is_released>
<created_on>05/08/2007 04:43:54 PM
</created_on>
<classification>/*
</classification>
<not_lockable>0
</not_lockable>
<id keyed_name="Finance Overall Rating
" type="Filter Value
">9D2BC1FDC0AB46A8B4021733429B467A
</id>
<filter>Finance
</filter>
<keyed_name>Finance Overall Rating
</keyed_name>
<behavior>float
</behavior>
<value>Finance Overall Rating
</value>
</Item>
-<Item type="Filter Value
" typeId="BCC8053D365143A18B033850EFE56F3C
" id="1E18803631BA4D00BADADBC16E6387CF
" page="1
" pagemax="1
" itemmax="10
">
<is_current>1
</is_current>
<generation>1
</generation>
<source_id keyed_name="Idea_Categories_P2
" type="List
">AABC5EA78F664E82A122BC65DE84DB7E
</source_id>
<major_rev>A
</major_rev>
<label>Finance Recommendations
</label>
<created_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</created_by_id>
<config_id keyed_name="Finance Recommendations
" type="Filter Value
">1E18803631BA4D00BADADBC16E6387CF
</config_id>
<sort_order>20
</sort_order>
<new_version>0
</new_version>
<permission_id keyed_name="List
" type="Permission
">1224D81E8DBD4B08B78404E769004EFF
</permission_id>
<modified_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</modified_by_id>
<modified_on>05/08/2007 04:43:54 PM
</modified_on>
<is_released>0
</is_released>
<created_on>05/08/2007 04:43:54 PM
</created_on>
<classification>/*
</classification>
<not_lockable>0
</not_lockable>
<id keyed_name="Finance Recommendations
" type="Filter Value
">1E18803631BA4D00BADADBC16E6387CF
</id>
<filter>Finance
</filter>
<keyed_name>Finance Recommendations
</keyed_name>
<behavior>float
</behavior>
<value>Finance Recommendations
</value>
</Item>
-<Item type="Filter Value
" typeId="BCC8053D365143A18B033850EFE56F3C
" id="3B7323BF731E46CC82043E750ADBC2FB
" page="1
" pagemax="1
" itemmax="10
">
<is_current>1
</is_current>
<generation>1
</generation>
<source_id keyed_name="Idea_Categories_P2
" type="List
">AABC5EA78F664E82A122BC65DE84DB7E
</source_id>
<major_rev>A
</major_rev>
<label>Finance Rejection Warning
</label>
<created_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</created_by_id>
<config_id keyed_name="Finance Rejection Warning
" type="Filter Value
">3B7323BF731E46CC82043E750ADBC2FB
</config_id>
<sort_order>21
</sort_order>
<new_version>0
</new_version>
<permission_id keyed_name="List
" type="Permission
">1224D81E8DBD4B08B78404E769004EFF
</permission_id>
<modified_by_id keyed_name="Innovator Admin
" type="User
">30B991F927274FA3829655F50C99472E
</modified_by_id>
<modified_on>05/08/2007 04:43:54 PM
</modified_on>
<is_released>0
</is_released>
<created_on>05/08/2007 04:43:54 PM
</created_on>
<classification>/*
</classification>
<not_lockable>0
</not_lockable>
<id keyed_name="Finance Rejection Warning
" type="Filter Value
">3B7323BF731E46CC82043E750ADBC2FB
</id>
<filter>Finance
</filter>
<keyed_name>Finance Rejection Warning
</keyed_name>
<behavior>float
</behavior>
<value>Finance Rejection Warning
</value>
</Item>
</Result>
</Body>
</Envelope>

 

 

Single value autoselect in filterlist in Aras

$
0
0
Dear Friends ,

If we have a single value in dropdown then i want it will autoselect not need to click on that. I just save it will show on grid. So i have tried below code but still not success.

kindly share your solution.

function dataBound(e) {
    var data = this.dataSource.data();
    if (data.length === 1) {
        var item = data[0];
        var valueField = this.options.dataValueField;
        this.value(item[valueField]);
        this.trigger("change");
    }
}
Thanks
Abhishek Srivastava

Populating a form drop down with federated values, please help

$
0
0

Hello,

I am new to innovator development, so am hoping someone can help me out;

Essentially, What I want to accomplish is equal to this;

            System.Data.SqlClient.SqlConnection _conn = null;

               _conn = new System.Data.SqlClient.SqlConnection("connection to another SQL DB");

                _conn.Open();

           

            System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand("SELECT field1, Field2 FROM from table", _conn);

            cmd.CommandType = System.Data.CommandType.Text;

            System.Data.SqlClient.SqlDataReader _rdr = cmd.ExecuteReader();

 

            System.Web.UI.WebControls.DropDownList ddl = (System.Web.UI.WebControls.DropDownList)Page.FindControl("ddlTest");

 

            ddl.DataSource = _rdr;

            ddl.DataTextField = "Field1";

            ddl.DataValueField = "Field2";

            ddl.DataBind();

 

Pull the list values from an external database and populate a list on an Innovator form for selection.

What is the best practise and does anyone have a quick example?

I have been trying to call a server method from a client method.  But I have yet to get it working, here is what I have;

 

//I want to return xml do that I don't have to iterate through the records

strSQL="SELECT Value, label FROM table ITEM order by field1 FOR XML  auto, ELEMENTS";

 

System.Data.SqlClient.SqlConnection _conn = null;

_conn = new System.Data.SqlClient.SqlConnection("connection to another SQL DB");

_conn.Open();

           

System.Data.SqlClient.SqlCommand cmd = new System.Data.SqlClient.SqlCommand(strSQL, _conn);

cmd.CommandType = System.Data.CommandType.Text;

System.Data.SqlClient.SqlDataReader _rdr = cmd.ExecuteReader();

 

string result = string.Empty;

 

while (_rdr.Read())

{

                result = _rdr[0].ToString().Replace("<ITEM>"," <ITEM type='list' action='add'>");

}

_conn.Close();

 

Aras.IOM.Item resItem = this.newItem();

resItem.loadAML("<AML>" + result + "</AML>");

return resItem.apply();

Item property with link

$
0
0

 

Dear all developers;

I have an htmlfield like below;

I want to get an item property with link like below.When we click it ,it shows us User's Form...

 

Is this item property with link possible  on html field??If possible, how can i manage it:D I examine nearly all method but didnt find a solution..Thanks

The database is not available.

$
0
0

I'am trying to install Aras Innovator 11 on my Windows 8 Machine. 

 

While running the InstallationWizard i get the first Problem while configuring the databse.

 

After clicking "Ok" the "Next" Button in the Wizard is still not available.

When I open the SQL Server Management Studio i can see a new InnovatorSolution Database.

Therefore i tried to choose tje "Use an existing database". 

With that option I can click the "Next" button and the Wizard finishes the Installation as expected.

 

The issue apppears when I try to log into Aras (using both IE and Firefox):

 

I get the following error. Sorry that the language is German but I will try to explain the German parts.

The Database is not available: running as Databaseprinzipal is not possible,

because the Prinzipal 'aras_innovator' is not there,

for this Type of Prinzipal is no Idetity change possible,

or you have not necessary  rights.

 

Do you have any suggestions what I could do to solve this issue? I tried a couple of things without success.

 

Greetings

Facing 'Invalid Search Criteria' with the new installtion

$
0
0

Hi,

I have installed Aras Innovator 11 on a new server, details of the server are:

OS: Windows Server 2008 R2 Standard Service Pack 1

Type : 64-bit

SQL Server : 2012

Installation went smoothly, but when I login into InnovatorSolutions and try to open an ItemType by giving a value into search grid, I faced 'Invalid Search Criteria'.  Irrespective of the whatever the value that I put in search column I am facing this error.

The same error is being thrown all over the application across all items. 

 

Without having a working Search functionality we could not move forward. Please help us in solving this issue.

 

Thanks you.

 

Automatic Entry of dates between from date and to date

$
0
0

Hello friends,

If i insert From Date and To Date then after save form then In between dates entry automatic done in aras.

Example :

From Date = 01/03/2016

To Date = 05/03/2016

So entries like

From date       To Date

01/03/2016      05/03/2016

02/03/2016      05/03/2016

03/03/2016      05/03/2016

04/03/2016      05/03/2016

05/03/2016      05/03/2016

If any solution then kindly share please.

Thanks in advanvce

Abhishek Srivastava

Viewing all 1103 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>