Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HS.SaveVar(string Name, object obj) #142

Closed
alexbk66 opened this issue Jan 18, 2021 · 8 comments
Closed

HS.SaveVar(string Name, object obj) #142

alexbk66 opened this issue Jan 18, 2021 · 8 comments
Labels
Bug A problem which impairs or prevents the functions of the product

Comments

@alexbk66
Copy link

I can't find anything for Variables mahagement in HS4 i.e.

string SaveVar(string Name, object obj)
string CreateVar(string Name);
object GetVar(string Name);

@rjhelmke
Copy link
Contributor

Can I ask what you need this for? I think we left them out waiting for a use case. You are the first to ask about them. You can easily create global vars in scripts. You can also use the INI file functions to save info that needs to persist.

@alexbk66
Copy link
Author

I think we left them out waiting for a use case

here's the use case AK Google Calendar plugin introduction / instructions / screenshots

image

@alexbk66
Copy link
Author

You are the first to ask about them. You can easily create global vars in scripts. You can also use the INI file functions to save info that needs to persist.

I create the variables at run time in my plugin. So please add them back.

@rjhelmke
Copy link
Contributor

Ok, I see that the variables can be accessed using the global replacement variables, I did not even know that. I will see about getting them added back. They are actually still there, just need the API.

@alexbk66
Copy link
Author

Ok, I see that the variables can be accessed using the global replacement variables, I did not even know that. I will see about getting them added back. They are actually still there, just need the API.

Thank you

@spudwebb spudwebb added Bug A problem which impairs or prevents the functions of the product To Do This issue is in need of attention and removed Feedback labels Jan 22, 2021
@spudwebb
Copy link
Collaborator

Tracked as PSDK-119

@alexbk66
Copy link
Author

FYI, using old HS3 IHSApplication global variables still work, thanks god:

image

@spudwebb spudwebb added In Review and removed To Do This issue is in need of attention labels Feb 11, 2021
@spudwebb
Copy link
Collaborator

The following methods have been added to Plugin SDK version 1.2.2

IHsController.CreateVar()
IHsController.DeleteVar()
IHsController.GetVar()
IHsController.SaveVar()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A problem which impairs or prevents the functions of the product
Projects
None yet
Development

No branches or pull requests

3 participants