Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2018-02-23 04:09 AM
Hi,
I want to create a button by using Custom Object that does the same work as the "Add New" button for a XREF Field.
I tried to do something like this, but I just got the button, and nothing happened when I clicked on it.
<div style="text-align:center;">
<a class="ContentURL" href="javascript:$('#master_DefaultContent_rts_s4182_f20694c_Add_New').click();">
<img src="../BackgroundImageGenerator.axd?className=StyledButton&classProperties=caption:+++++AddNew+++++;iconSetStyle:VistaRound;baseColor:%23BFDDF5;disabled:False"/>
</a>
</div>
I don't know how to put the "fieldid" - "refmodid" - "moduleid" in the code.
Could anyone help me With this? Thank you!
/Tuan
GhgcdMq8HwHRCWZuqMwEETnAH3l0sBKt8utOGHAgtsY=
2019-01-24 10:57 AM
You mention that the jquery framework isn't loaded when it comes to iviews. I understand that I can't just reference the library, but what if I add a script source tag to google jquery api libraries, would that work? -- I feel like I "know" this and that's why it's not embedded in my custom iview, but I may have only figured this out through discovery.
While I'm on the topic... React? (custom object or iview)
2019-01-24 11:23 AM
I typically use Archer's version of jQuery in case I need to make any calls Archer specific using,
<script type="text/javascript" src="/shared/scripts/jquery/jquery.js"></script>
Advisory Consultant
2019-01-24 11:28 AM
You should be able to use React in either as-long-as you pull-in the framework.
This would be only on-prem, though, right?
2019-01-24 11:31 AM
I'd say yes, being I'm not to familiar with React and what it entails to implement.
Advisory Consultant
2019-01-25 01:03 AM
Yes Petty, Parent record will be same for all the records. please let me know how can we pass that.
2023-08-17 06:02 AM
Could you please say what is levelid in above code and is refmodid the module id of the referenced application?
2023-08-17 08:45 AM
@Pavan_2835 just inspect the Add New link the application and you'll get all that information.
Advisory Consultant