Recent Posts

Pages: [1] 2 3 ... 10
1
Sedna (Pivotal 6) / Re: Manually load secondary data with security and filters
« Last post by Misiu on June 11, 2019, 02:31:51 AM »
I can't find that method?
What DLL is it in?
I'm creating my ClientTasks by extending FormClientTask.
Is this method available on the client side or only on the server side?
2
Default.DataAccess.GetDataTable ???
3
Sedna (Pivotal 6) / Re: Pivotal 6.7
« Last post by jricardodiazl on June 10, 2019, 03:57:29 PM »
I think that the 6.7 will be released at end of this year.

The last conferences only does mentions to PIVOTAL on Cloud but I don't see nothing about async/awiat on ST. Only on UX Client scripts I see async methods

regards
4
General Discussion / Re: Is this forum dead?
« Last post by jricardodiazl on June 10, 2019, 03:54:05 PM »
Now the support site for PIVOTAL is available on: https://support.avolin.com

Regards
5
Sedna (Pivotal 6) / Manually load secondary data with security and filters
« Last post by Misiu on June 04, 2019, 06:46:05 AM »
I'm developing custom control that will allow me to display read only data similar to Pivotal Secondary but with lazy loading - if my control is placed inside PivotalTab that is invisible I don't want to load data. The ata will be loaded only when tab gets visible.

I have PivotalCustomControlContainer and DataGridView in it. I know RecordId, I know the secondary name, now I want to load data for that secondary using Pivotal build-in mechanism (load data same way Pivotal is doing it, applying filters etc).

Is there a build-in method that allows me to load secondary data for a specific record?

6
General Discussion / Re: Is this forum dead?
« Last post by Misiu on May 28, 2019, 05:30:58 AM »
The forum is dead 😪
7
Sedna (Pivotal 6) / Pivotal 6.7
« Last post by Misiu on February 12, 2019, 06:18:35 AM »
Does anyone knows any news about upcoming Pivotal 6.7 release?
Od 2018 CRM conference there were a couple of talks about the next release, but I couldn't attend.

Will it finally support async/await and Task in code? Especially in Server Tasks.
What new features are coming?

ANy news are more than welcome  :)
8
Sedna (Pivotal 6) / Re: Change .NET version
« Last post by Misiu on October 09, 2018, 03:32:14 AM »
@CarlC did something change in Pivotal 6.6?
I'd like to know more about supported CLR version. Is it still .NET4?
9
Sedna (Pivotal 6) / Re: ProductivityPack TabTools - samples
« Last post by Misiu on August 17, 2018, 01:44:27 AM »
Hi MarcK4096,

thank You for reply.
I know that the only way to hide tab in winforms tab control is to remove that tab and add it again when I want to show it.
I've used PP as You showed.

In `OnFormInitialized` I'm creating reference to my tab page like this:

Code: [Select]
private TabPageLibrary _tpl;

public override void OnFormInitialized()
{
    base.OnFormInitialized();     
           
    if(_tpl == null)
        _tpl = new TabPageLibrary("MyTabPage", FormControl);

    ShowCorrectTabs();
}

private void ShowCorrectTabs()
{
    try
    {
        int productType = Convert.ToInt32(PrimaryDataRow[Common.Data.Client.Field.ProductType]);

        if (productType  == 0 && _tpl != null)
        {
            _tpl.Hide();
        }
        else if (productType == 1 && _tpl != null)
        {
            _tpl.Show();
        }
    }
    catch (Exception e)
    {
        Logger.LogException(e);
    }
}

I've got additional checks for _tpl != null to avoid any potential errors.

Hope this helps anyone :)

P.S.
Does anyone have any materials related to PP? Especially samples source code.
10
Sedna (Pivotal 6) / Re: ProductivityPack TabTools - samples
« Last post by MarcK4096 on August 13, 2018, 10:11:56 AM »
The winforms tab control doesn't actually allow hiding of tabs.  The standard way to do this is to remove the tab from the control when you want to hide it and then add it back when you want to show it.

If you wanted to use the PP for this, you could try the following in your client task code:

var tabPage = new crmc.Foundation.TabPageLibrary("nameOfTab", (CdcSoftware.Pivotal.Engine.UI.Forms.PivotalClientFormControl)this.FormView.FormControl);
tabPage.Hide();

One challenge with the Pivotal SmartClient is that it likes to reuse forms as much as possible for performance reasons.  So, if you hide a tab, your code needs to be aware that the next time the form is initialized, the tab might already be gone.  I think one issue with this involves GetControlByName().  With the tab removed, I don't think the children can be found anymore.

Pages: [1] 2 3 ... 10